diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-02-20 13:23:43 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-02-20 13:23:43 +0000 |
commit | d5d7f37beb9f561b70fa31ee89efd2dad5b60be5 (patch) | |
tree | 07abfd6ee77a1f1004b0464c3f94c6a4cda938be /llvm/lib/Analysis/InstructionSimplify.cpp | |
parent | 25f2ac948bef1d0035eaa983d2ff2c8744c569fe (diff) | |
download | bcm5719-llvm-d5d7f37beb9f561b70fa31ee89efd2dad5b60be5.tar.gz bcm5719-llvm-d5d7f37beb9f561b70fa31ee89efd2dad5b60be5.zip |
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.
llvm-svn: 126081
Diffstat (limited to 'llvm/lib/Analysis/InstructionSimplify.cpp')
0 files changed, 0 insertions, 0 deletions