summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-03-01 02:03:43 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-03-01 02:03:43 +0000
commitc2f95b56db5b87a93bcf4490a232fd5dcb72d292 (patch)
tree1157d7b09dc9ea025627fbe9d0aeb8a33c42a3f8 /clang/lib/CodeGen/CGBlocks.cpp
parent961763e35ac7ed92817061cf11941b3074b00aec (diff)
downloadbcm5719-llvm-c2f95b56db5b87a93bcf4490a232fd5dcb72d292.tar.gz
bcm5719-llvm-c2f95b56db5b87a93bcf4490a232fd5dcb72d292.zip
Minor optimization:
Look for situations like this: %reg1024<def> = MOV r1 %reg1025<def> = MOV r0 %reg1026<def> = ADD %reg1024, %reg1025 r0 = MOV %reg1026 Commute the ADD to hopefully eliminate an otherwise unavoidable copy. llvm-svn: 65752
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud