aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-05-11 01:30:47 +0000
committerManman Ren <mren@apple.com>2012-05-11 01:30:47 +0000
commitdc8ad0058f7ab81a71ddb6f453b2eaf37e1923ba (patch)
tree7c89f062940be74cba47e14322dcaf8e543f8241 /lldb/source/Commands/CommandObjectThread.cpp
parent92d49459ab259886dd524f0acfcfeb38720d8148 (diff)
downloadllvm-dc8ad0058f7ab81a71ddb6f453b2eaf37e1923ba.zip
llvm-dc8ad0058f7ab81a71ddb6f453b2eaf37e1923ba.tar.gz
llvm-dc8ad0058f7ab81a71ddb6f453b2eaf37e1923ba.tar.bz2
ARM: peephole optimization to remove cmp instruction
This patch will optimize the following cases: sub r1, r3 | sub r1, imm cmp r3, r1 or cmp r1, r3 | cmp r1, imm bge L1 TO subs r1, r3 bge L1 or ble L1 If the branch instruction can use flag from "sub", then we can replace "sub" with "subs" and eliminate the "cmp" instruction. rdar: 10734411 llvm-svn: 156599
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions