diff options
author | Chris Lattner <sabre@nondot.org> | 2010-12-20 01:16:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-12-20 01:16:03 +0000 |
commit | 39ffcb7b62a75d186a7f14b38aacb1615593fdbd (patch) | |
tree | e0c8ecf39907ca5a0ffe62d2284762805c7459fa /lib/CodeGen/MachineVerifier.cpp | |
parent | b085181258bf2566e7b58389591acc213b0b2927 (diff) |
We lower setb to sbb with the hope that the and will go away, when it
doesn't, match it back to setb.
On a 64-bit version of the testcase before we'd get:
movq %rdi, %rax
addq %rsi, %rax
sbbb %dl, %dl
andb $1, %dl
ret
now we get:
movq %rdi, %rax
addq %rsi, %rax
setb %dl
ret
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions