llvm-6502/lib/CodeGen/SelectionDAG
Owen Anderson b48783b091 Reapply r174343, with a fix for a scary DAG combine bug where it failed to differentiate between the alignment of the
base point of a load, and the overall alignment of the load.  This caused infinite loops in DAG combine with the
original application of this patch.

ORIGINAL COMMIT LOG:
When the target-independent DAGCombiner inferred a higher alignment for a load,
it would replace the load with one with the higher alignment.  However, it did
not place the new load in the worklist, which prevented later DAG combines in
the same phase (for example, target-specific combines) from ever seeing it.

This patch corrects that oversight, and updates some tests whose output changed
due to slightly different DAGCombine outputs.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174431 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-05 19:24:39 +00:00
..
CMakeLists.txt
DAGCombiner.cpp Reapply r174343, with a fix for a scary DAG combine bug where it failed to differentiate between the alignment of the 2013-02-05 19:24:39 +00:00
FastISel.cpp
FunctionLoweringInfo.cpp
InstrEmitter.cpp
InstrEmitter.h
LegalizeDAG.cpp Teach SDISel to combine fsin / fcos into a fsincos node if the following 2013-01-29 02:32:37 +00:00
LegalizeFloatTypes.cpp
LegalizeIntegerTypes.cpp Legalizer: Reword comment again, per Duncan's suggestion. 2013-01-27 21:02:52 +00:00
LegalizeTypes.cpp
LegalizeTypes.h This patch aims to reduce compile time in LegalizeTypes by using SmallDenseMap, 2013-01-25 15:18:54 +00:00
LegalizeTypesGeneric.cpp
LegalizeVectorOps.cpp This patch aims to reduce compile time in LegalizeTypes by using SmallDenseMap, 2013-01-25 15:18:54 +00:00
LegalizeVectorTypes.cpp
LLVMBuild.txt
Makefile
ResourcePriorityQueue.cpp
ScheduleDAGFast.cpp
ScheduleDAGRRList.cpp Add a special handling case for untyped CopyFromReg node in GetCostForDef() of ScheduleDAGRRList 2013-01-29 21:18:43 +00:00
ScheduleDAGSDNodes.cpp
ScheduleDAGSDNodes.h
ScheduleDAGVLIW.cpp
SDNodeDbgValue.h
SDNodeOrdering.h
SelectionDAG.cpp SelectionDAG: Teach FoldConstantArithmetic how to deal with vectors. 2013-02-04 15:19:18 +00:00
SelectionDAGBuilder.cpp Fix errant fallthrough in the generation of the lifetime markers. 2013-02-01 19:25:23 +00:00
SelectionDAGBuilder.h
SelectionDAGDumper.cpp Teach SDISel to combine fsin / fcos into a fsincos node if the following 2013-01-29 02:32:37 +00:00
SelectionDAGISel.cpp
SelectionDAGPrinter.cpp
TargetLowering.cpp
TargetSelectionDAGInfo.cpp