aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-05-08 18:36:07 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-05-08 18:36:07 +0000
commitd724a590e5cc98c3a94cb3c78bce13aeb9311214 (patch)
treee2b766d51222dc9f7212a5968765a6f75d730494 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentb21c52eac8ecfd332e83d87ec20368fdfd242102 (diff)
downloadllvm-d724a590e5cc98c3a94cb3c78bce13aeb9311214.zip
llvm-d724a590e5cc98c3a94cb3c78bce13aeb9311214.tar.gz
llvm-d724a590e5cc98c3a94cb3c78bce13aeb9311214.tar.bz2
X86: Add a bunch of peeps for add and sub of SETB.
"b + ((a < b) ? 1 : 0)" compiles into cmpl %esi, %edi adcl $0, %esi instead of cmpl %esi, %edi sbbl %eax, %eax andl $1, %eax addl %esi, %eax This saves a register, a false dependency on %eax (Intel's CPUs still don't ignore it) and it's shorter. llvm-svn: 131070
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions