Fold (X|C1)^C2 -> X^(C1|C2) when possible. This implements
authorChris Lattner <sabre@nondot.org>
Sun, 26 Feb 2006 19:57:54 +0000 (19:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 26 Feb 2006 19:57:54 +0000 (19:57 +0000)
commit02bd1b3e943d12d77ac818392d048cc90afb05df
tree22b6920d39c641dbb53f2d0d5e9e2a7e02feca18
parent80e206556521c2e051cd9c8fd09e9b4d6485c361
Fold (X|C1)^C2 -> X^(C1|C2) when possible.  This implements
InstCombine/or.ll:test23.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26385 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp