aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-03 18:01:46 +0000
committerDan Gohman <gohman@apple.com>2009-01-03 18:01:46 +0000
commit9a57ab02dfb82e186a8b04c6f7d73180d7cfaa7a (patch)
tree7626094d9ee5b67ea8f2e1b9cdf2e415c96384b7 /lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
parentd5c91b461a0fbd306afee8b85f81d5af95de59b7 (diff)
downloadexternal_llvm-9a57ab02dfb82e186a8b04c6f7d73180d7cfaa7a.zip
external_llvm-9a57ab02dfb82e186a8b04c6f7d73180d7cfaa7a.tar.gz
external_llvm-9a57ab02dfb82e186a8b04c6f7d73180d7cfaa7a.tar.bz2
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp')
0 files changed, 0 insertions, 0 deletions