commit | 91e37ef278779c3c8700bbddbb5c9d37739b1716 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sun Feb 20 13:23:43 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sun Feb 20 13:23:43 2011 +0000 |
tree | 8af592d9d6408992eb6af45dc74fcb3efca98aba | |
parent | ed9b934f65d82324506f03e2db2834682c7a8914 [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