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 | 46b9efcad75a056f7f77b34bfd488d842afa82e4 (patch) | |
tree | 8c9abafc53bead54519cc137bdec744934136644 /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | |
parent | 7bcead020d979055a2da7002fd6a55f87b6fc201 (diff) | |
download | bcm5719-llvm-46b9efcad75a056f7f77b34bfd488d842afa82e4.tar.gz bcm5719-llvm-46b9efcad75a056f7f77b34bfd488d842afa82e4.zip |
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
llvm-svn: 122217
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp')
0 files changed, 0 insertions, 0 deletions