aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-27 00:22:28 +0000
committerChris Lattner <sabre@nondot.org>2006-02-27 00:22:28 +0000
commit5f0c658aa40c6d1475f7c9daa72497362fbee216 (patch)
tree4ed96d021948ca1234a5c8d7d09ba8698ed6c331 /lib/CodeGen/DwarfWriter.cpp
parentcfdbb7caa8b1f1b04029a5ea092f523debd862fa (diff)
Just like we use the RHS of an AND to simplify the LHS, use the LHS to
simplify the RHS. This allows for the elimination of many thousands of ands from multisource, and compiles CodeGen/PowerPC/and-elim.ll:test2 into this: _test2: srwi r2, r3, 1 xori r3, r2, 40961 blr instead of this: _test2: rlwinm r2, r3, 31, 17, 31 xori r2, r2, 40961 rlwinm r3, r2, 0, 16, 31 blr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
0 files changed, 0 insertions, 0 deletions