diff options
| author | Manman Ren <mren@apple.com> | 2012-06-25 21:49:38 +0000 |
|---|---|---|
| committer | Manman Ren <mren@apple.com> | 2012-06-25 21:49:38 +0000 |
| commit | 606953fbe76744eca6bc8c0c9e35ddcddaa1da29 (patch) | |
| tree | 03a8974dcc5d0a731bf5d62369c78b754e447570 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | e1db0daf251438a7392c32e4ca821fde074c2fd0 (diff) | |
| download | llvm-606953fbe76744eca6bc8c0c9e35ddcddaa1da29.zip llvm-606953fbe76744eca6bc8c0c9e35ddcddaa1da29.tar.gz llvm-606953fbe76744eca6bc8c0c9e35ddcddaa1da29.tar.bz2 | |
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/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
