summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstructionSimplify.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
commitd5d7f37beb9f561b70fa31ee89efd2dad5b60be5 (patch)
tree07abfd6ee77a1f1004b0464c3f94c6a4cda938be /llvm/lib/Analysis/InstructionSimplify.cpp
parent25f2ac948bef1d0035eaa983d2ff2c8744c569fe (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud