summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/HostInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-03-30 21:34:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-03-30 21:34:07 +0000
commit09f5be814639e29bebdf818cff7baaa5a81cb22c (patch)
treed165554fcde103195bd22de5821544e0fe29ccb5 /clang/lib/Driver/HostInfo.cpp
parent6683b8a272092fde47ddf9e27ef4344a9224cee3 (diff)
downloadbcm5719-llvm-09f5be814639e29bebdf818cff7baaa5a81cb22c.tar.gz
bcm5719-llvm-09f5be814639e29bebdf818cff7baaa5a81cb22c.zip
Turn a 2-address instruction into a 3-address one when it's profitable even if the two-address operand is killed.
e.g. %reg1024<def> = MOV r1 %reg1025<def> = ADD %reg1024, %reg1026 r0 = MOV %reg1025 If it's not possible / profitable to commute ADD, then turning ADD into a LEA saves a copy. llvm-svn: 68065
Diffstat (limited to 'clang/lib/Driver/HostInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud