llvm-6502/lib/CodeGen/SelectionDAG
Duncan Sands 23b10f5b64 Fix a FIXME: in ReplaceNodeWith, if the new node
is morphed by AnalyzeNewNode into a previously
processed node, and different result values of
that node are remapped to values with different
nodes, then we could end up using wrong values
here [we were assuming that all results remap
to values with the same underlying node].  This
seems theoretically possible, but I don't have
a testcase.  The meat of the patch is in the
changes to AnalyzeNewNode/AnalyzeNewValue and
ReplaceNodeWith.  While there, I changed names
like RemapNode to RemapValue, since it really
remaps values.  To tell the truth, I would be
much happier if we were only remapping nodes
(it would simplify a bunch of logic, and allow
for some cute speedups) but I haven't yet worked
out how to do that.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58372 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-29 06:42:19 +00:00
..
CallingConvLower.cpp Add "inreg" field to CallSDNode (doesn't increase 2008-09-26 19:31:26 +00:00
CMakeLists.txt
DAGCombiner.cpp Don't produce invalid comparisons after legalize. 2008-10-28 07:11:07 +00:00
FastISel.cpp FastISel support for exception-handling constructs. 2008-10-14 23:54:11 +00:00
LegalizeDAG.cpp Add an SSE2 algorithm for uint64->f64 conversion. 2008-10-21 20:50:01 +00:00
LegalizeFloatTypes.cpp Fix 80 column violations. 2008-10-29 06:31:03 +00:00
LegalizeIntegerTypes.cpp Fix 80 column violations. 2008-10-29 06:33:00 +00:00
LegalizeTypes.cpp Fix a FIXME: in ReplaceNodeWith, if the new node 2008-10-29 06:42:19 +00:00
LegalizeTypes.h Fix a FIXME: in ReplaceNodeWith, if the new node 2008-10-29 06:42:19 +00:00
LegalizeTypesGeneric.cpp
LegalizeVectorTypes.cpp Support operations like fp_to_uint with a vector 2008-10-20 16:31:21 +00:00
Makefile
ScheduleDAG.cpp SDNodes may have at most one Flag result. Update this comment 2008-10-25 17:51:24 +00:00
ScheduleDAGEmit.cpp
ScheduleDAGFast.cpp Fix command-line option printing to print two spaces where needed, 2008-10-14 20:25:08 +00:00
ScheduleDAGList.cpp Fix command-line option printing to print two spaces where needed, 2008-10-14 20:25:08 +00:00
ScheduleDAGRRList.cpp Fix command-line option printing to print two spaces where needed, 2008-10-14 20:25:08 +00:00
SelectionDAG.cpp fix some whitespace stuff 2008-10-28 07:10:51 +00:00
SelectionDAGBuild.cpp Fix SelectionDAGBuild lowering of Select instructions to 2008-10-21 20:00:42 +00:00
SelectionDAGBuild.h Factor out the code for mapping LLVM IR condition opcodes to 2008-10-17 21:16:08 +00:00
SelectionDAGISel.cpp Take Chris' suggestion and define EnableFastISelVerbose and 2008-10-28 20:35:31 +00:00
SelectionDAGPrinter.cpp Fix bogus comparison of "const char *" with c-string literal. Use strcmp instead. 2008-10-27 22:43:07 +00:00
TargetLowering.cpp Teach DAGCombine to fold constant offsets into GlobalAddress nodes, 2008-10-18 02:06:02 +00:00