aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-01-31 08:17:29 +0000
committerNate Begeman <natebegeman@mac.com>2006-01-31 08:17:29 +0000
commit4477590ef64796e4716f7322d8b2d1cffbaadfa1 (patch)
treeda6ea5d8b8d33b955d563fea141aa29e67d38885 /lib/CodeGen/MachineFunction.cpp
parenta34b898bc0506d317b6db45eff43b75dee2c5405 (diff)
Codegen
bool %test(int %X) { %Y = seteq int %X, 13 ret bool %Y } as _test: addi r2, r3, -13 cntlzw r2, r2 srwi r3, r2, 5 blr rather than _test: cmpwi cr7, r3, 13 mfcr r2 rlwinm r3, r2, 31, 31, 31 blr This has very little effect on most code, but speeds up analyzer 23% and mason 11% git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions