summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-06-25 21:49:38 +0000
committerManman Ren <mren@apple.com>2012-06-25 21:49:38 +0000
commit606953fbe76744eca6bc8c0c9e35ddcddaa1da29 (patch)
tree03a8974dcc5d0a731bf5d62369c78b754e447570 /clang/lib/CodeGen/TargetInfo.cpp
parente1db0daf251438a7392c32e4ca821fde074c2fd0 (diff)
downloadbcm5719-llvm-606953fbe76744eca6bc8c0c9e35ddcddaa1da29.tar.gz
bcm5719-llvm-606953fbe76744eca6bc8c0c9e35ddcddaa1da29.zip
ARM: update peephole optimization.
More condition codes are included when deciding whether to remove cmp after a sub instruction. Specifically, we extend from GE|LT|GT|LE to GE|LT|GT|LE|HS|LS|HI|LO|EQ|NE. If we have "sub a, b; cmp b, a; movhs", we should be able to replace with "sub a, b; movls". rdar: 11725965 llvm-svn: 159166
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud