diff options
author | Nate Begeman <natebegeman@mac.com> | 2004-10-15 00:50:19 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2004-10-15 00:50:19 +0000 |
commit | e0c83a86b0f609e7212fba6679453b8e5bd7fa33 (patch) | |
tree | 642d3c218a04d568b3d765ee8c3ab045e83e1db4 /lib/CodeGen/VirtRegMap.cpp | |
parent | d36047dbdb830c3ec659681c99f0348001b57653 (diff) |
Better codegen of binary integer ops with 32 bit immediate operands.
This transformation fires a few dozen times across the testsuite.
For example, int test2(int X) { return X ^ 0x0FF00FF0; }
Old:
_test2:
lis r2, 4080
ori r2, r2, 4080
xor r3, r3, r2
blr
New:
_test2:
xoris r3, r3, 4080
xori r3, r3, 4080
blr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
0 files changed, 0 insertions, 0 deletions