llvm-6502/lib/CodeGen/SelectionDAG
Dan Gohman 223942a420 Remove the code from the scheduler that commuted two-address
instructions to avoid copies, because TwoAddressInstructionPass
also does this optimization.  The scheduler's version didn't
account for live-out values, which resulted in spurious commutes
and missed opportunities.

Now, TwoAddressInstructionPass handles all the opportunities,
instead of just those that the scheduler missed. The result is
usually the same, though there are occasional trivial differences
resulting from the avoidance of spurious commutes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61611 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-03 18:01:46 +00:00
..
CallingConvLower.cpp Add "inreg" field to CallSDNode (doesn't increase 2008-09-26 19:31:26 +00:00
CMakeLists.txt Experimental post-pass scheduling support. Post-pass scheduling 2008-11-19 23:18:57 +00:00
DAGCombiner.cpp Fix PR3274: when promoting the condition of a BRCOND node, 2009-01-01 15:52:00 +00:00
FastISel.cpp Factor out the code for sign-extending/truncating gep indices 2008-12-08 07:57:47 +00:00
LegalizeDAG.cpp Fix PR3274: when promoting the condition of a BRCOND node, 2009-01-01 15:52:00 +00:00
LegalizeFloatTypes.cpp Fix PR3274: when promoting the condition of a BRCOND node, 2009-01-01 15:52:00 +00:00
LegalizeIntegerTypes.cpp Factorize (and generalize) the code promoting SELECT 2009-01-01 20:36:20 +00:00
LegalizeTypes.cpp Factorize (and generalize) the code promoting SELECT 2009-01-01 20:36:20 +00:00
LegalizeTypes.h Factorize (and generalize) the code promoting SELECT 2009-01-01 20:36:20 +00:00
LegalizeTypesGeneric.cpp Preserve SourceValue information when lowering produces multiple loads from 2008-12-16 18:25:36 +00:00
LegalizeVectorTypes.cpp Remove trailing spaces. 2009-01-01 19:56:02 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00
ScheduleDAGFast.cpp Rename BuildSchedUnits to BuildSchedGraph, and refactor the 2008-12-23 18:36:58 +00:00
ScheduleDAGList.cpp Rename BuildSchedUnits to BuildSchedGraph, and refactor the 2008-12-23 18:36:58 +00:00
ScheduleDAGRRList.cpp Remove the code from the scheduler that commuted two-address 2009-01-03 18:01:46 +00:00
ScheduleDAGSDNodes.cpp Rename BuildSchedUnits to BuildSchedGraph, and refactor the 2008-12-23 18:36:58 +00:00
ScheduleDAGSDNodesEmit.cpp Remove the code from the scheduler that commuted two-address 2009-01-03 18:01:46 +00:00
SelectionDAG.cpp Clean up the atomic opcodes in SelectionDAG. 2008-12-23 21:37:04 +00:00
SelectionDAGBuild.cpp Fix PR3274: when promoting the condition of a BRCOND node, 2009-01-01 15:52:00 +00:00
SelectionDAGBuild.h Initial checkin of APInt'ififcation of switch lowering 2008-12-23 22:25:27 +00:00
SelectionDAGISel.cpp Reapply r60997, this time without forgetting that 2008-12-14 09:43:15 +00:00
SelectionDAGPrinter.cpp Fix printing of PseudoSourceValues in SDNode graphs. 2008-12-15 17:28:10 +00:00
TargetLowering.cpp Fix PR3274: when promoting the condition of a BRCOND node, 2009-01-01 15:52:00 +00:00