llvm-6502/lib/CodeGen/SelectionDAG
Duncan Sands 212a11c417 Fix a nasty bug in LegalizeTypes (spotted in
CodeGen/PowerPC/illegal-element-type.ll): suppose
a node X is processed, and processing maps it to
a node Y.  Then X continues to exist in the DAG,
but with no users.  While processing some other
node, a new node may be created that happens to
be equal to X, and thus X will be reused rather
than a truly new node.  This can cause X to
"magically reappear", and since it is in the
Processed state in will not be reprocessed, so
at the end of type legalization the illegal node
X can still be present.  The solution is to replace
X with Y whenever X gets resurrected like this.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47601 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-26 11:21:42 +00:00
..
CallingConvLower.cpp Rename MRegisterInfo to TargetRegisterInfo. 2008-02-10 18:45:23 +00:00
DAGCombiner.cpp Fix isNegatibleForFree to not return true for ConstantFP nodes 2008-02-26 07:04:54 +00:00
LegalizeDAG.cpp Make some static variables const. 2008-02-25 21:39:34 +00:00
LegalizeTypes.cpp Fix a nasty bug in LegalizeTypes (spotted in 2008-02-26 11:21:42 +00:00
LegalizeTypes.h Fix a nasty bug in LegalizeTypes (spotted in 2008-02-26 11:21:42 +00:00
LegalizeTypesExpand.cpp Fix a nasty bug in LegalizeTypes (spotted in 2008-02-26 11:21:42 +00:00
LegalizeTypesPromote.cpp Fix a nasty bug in LegalizeTypes (spotted in 2008-02-26 11:21:42 +00:00
LegalizeTypesScalarize.cpp Fix a nasty bug in LegalizeTypes (spotted in 2008-02-26 11:21:42 +00:00
LegalizeTypesSplit.cpp Fix a nasty bug in LegalizeTypes (spotted in 2008-02-26 11:21:42 +00:00
Makefile
ScheduleDAG.cpp Rename CountMemOperands to ComputeMemOperandsEnd to reflect what 2008-02-16 00:36:48 +00:00
ScheduleDAGList.cpp Rename MRegisterInfo to TargetRegisterInfo. 2008-02-10 18:45:23 +00:00
ScheduleDAGRRList.cpp Update gcc 4.3 warnings fix patch with recent head changes 2008-02-20 11:10:28 +00:00
SelectionDAG.cpp Convert MaskedValueIsZero and all its users to use APInt. Also add 2008-02-25 21:11:39 +00:00
SelectionDAGISel.cpp Refactor inline asm constraint matching code out of SDIsel into TargetLowering. 2008-02-26 02:33:44 +00:00
SelectionDAGPrinter.cpp Rename MRegisterInfo to TargetRegisterInfo. 2008-02-10 18:45:23 +00:00
TargetLowering.cpp Refactor inline asm constraint matching code out of SDIsel into TargetLowering. 2008-02-26 02:33:44 +00:00