Add instruction combining for ((A&~B)|(~A&B)) -> A^B and all permutations.
authorBill Wendling <isanbard@gmail.com>
Sun, 30 Nov 2008 13:52:49 +0000 (13:52 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 30 Nov 2008 13:52:49 +0000 (13:52 +0000)
commitb01865c210f4272904b3b3099474ee7f43bc7bec
tree575c6c446caa69f5b369926dbc4174d22ec2269d
parent7f0ef6b325d0f6061c584ab93ebb083b87bca4ff
Add instruction combining for ((A&~B)|(~A&B)) -> A^B and all permutations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60291 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/README.txt
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/or-to-xor.ll [new file with mode: 0644]