Add the following instcombine xforms:
authorChris Lattner <sabre@nondot.org>
Tue, 11 Mar 2003 00:12:48 +0000 (00:12 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Mar 2003 00:12:48 +0000 (00:12 +0000)
commitc8802d2c167263a769856d2c4f070c3cfbf7260c
tree9711c1de8dcd0fcd0d533d27e38ba4a5bc164c8e
parentbe0fe12f72759db078c34f5b973f568ee83d5432
Add the following instcombine xforms:
  - Implement simple reassociation: (A|c1)|(B|c2) == (A|B)|(c1|c2)
  - (A & C1)+(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
  - (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0

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