llvm-6502/lib/CodeGen/SelectionDAG
Tim Northover 3e84ad28d4 ISelDAG: spot chain cycles involving MachineNodes
Previously, the DAGISel function WalkChainUsers was spotting that it
had entered already-selected territory by whether a node was a
MachineNode (amongst other things). Since it's fairly common practice
to insert MachineNodes during ISelLowering, this was not the correct
check.

Looking around, it seems that other nodes get their NodeId set to -1
upon selection, so this makes sure the same thing happens to all
MachineNodes and uses that characteristic to determine whether we
should stop looking for a loop during selection.

This should fix PR15840.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191165 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-22 08:21:56 +00:00
..
CMakeLists.txt
DAGCombiner.cpp Revert "SelectionDAG: Teach the legalizer to split SETCC if VSELECT needs splitting too." 2013-09-21 15:09:46 +00:00
FastISel.cpp Debug info: Get rid of the VLA indirection hack in FastISel. 2013-09-18 22:08:59 +00:00
FunctionLoweringInfo.cpp
InstrEmitter.cpp
InstrEmitter.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
LegalizeDAG.cpp
LegalizeFloatTypes.cpp
LegalizeIntegerTypes.cpp
LegalizeTypes.cpp
LegalizeTypes.h [SelectionDAG] Teach the vector scalarizer about TRUNCATE. 2013-09-17 00:26:56 +00:00
LegalizeTypesGeneric.cpp Revert "SelectionDAG: Teach the legalizer to split SETCC if VSELECT needs splitting too." 2013-09-21 15:09:46 +00:00
LegalizeVectorOps.cpp Remove pointless assertion after r190376 2013-09-12 01:07:49 +00:00
LegalizeVectorTypes.cpp [SelectionDAG] Teach the vector scalarizer about TRUNCATE. 2013-09-17 00:26:56 +00:00
LLVMBuild.txt
Makefile
ResourcePriorityQueue.cpp Rename variables for consistency. 2013-09-11 00:41:02 +00:00
ScheduleDAGFast.cpp
ScheduleDAGRRList.cpp
ScheduleDAGSDNodes.cpp
ScheduleDAGSDNodes.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
ScheduleDAGVLIW.cpp
SDNodeDbgValue.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
SelectionDAG.cpp Added documentation to getMemsetStores. 2013-09-17 16:24:42 +00:00
SelectionDAGBuilder.cpp
SelectionDAGBuilder.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
SelectionDAGDumper.cpp
SelectionDAGISel.cpp ISelDAG: spot chain cycles involving MachineNodes 2013-09-22 08:21:56 +00:00
SelectionDAGPrinter.cpp
TargetLowering.cpp
TargetSelectionDAGInfo.cpp