summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.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
commit1be2e9650efd0cf45582a24e351f75abf62553ef (patch)
tree8a794c248d8ecaca6495f4fbcf410d9d5df38cce /clang/lib/CodeGen/CodeGenModule.cpp
parent1d805c62c4e7aac89965b7d7cd40d28fc8e1bac5 (diff)
downloadbcm5719-llvm-1be2e9650efd0cf45582a24e351f75abf62553ef.tar.gz
bcm5719-llvm-1be2e9650efd0cf45582a24e351f75abf62553ef.zip
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. llvm-svn: 61611
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud