This patch implements transform for pattern "( A & (~B)) | (A ^ B) -> (A ^ B)"
authorSuyog Sarda <suyog.sarda@samsung.com>
Fri, 1 Aug 2014 04:50:31 +0000 (04:50 +0000)
committerSuyog Sarda <suyog.sarda@samsung.com>
Fri, 1 Aug 2014 04:50:31 +0000 (04:50 +0000)
commit52324c82cca99fb288affc4011a8bfcbde1c2a80
tree8229eee3da8823b39ae2b8c932787c2be978329b
parent16d646594ee3439640f566b055ae1c01adab17c1
This patch implements transform for pattern "( A & (~B)) | (A ^ B) -> (A ^ B)"

Differential Revision: http://reviews.llvm.org/D4652

llvm-svn: 214477
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/or.ll