aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-02-20 13:23:43 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-02-20 13:23:43 +0000
commit91e37ef278779c3c8700bbddbb5c9d37739b1716 (patch)
tree8af592d9d6408992eb6af45dc74fcb3efca98aba /lib/Transforms/Utils/Local.cpp
parented9b934f65d82324506f03e2db2834682c7a8914 (diff)
InstCombine: Add a bunch of combines of the form x | (y ^ z).
We usually catch this kind of optimization through InstSimplify's distributive magic, but or doesn't distribute over xor in general. "A | ~(A | B) -> A | ~B" hits 24 times on gcc.c. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions