Added InstCombine Transform for patterns:
authorSuyog Sarda <suyog.sarda@samsung.com>
Tue, 22 Jul 2014 18:09:41 +0000 (18:09 +0000)
committerSuyog Sarda <suyog.sarda@samsung.com>
Tue, 22 Jul 2014 18:09:41 +0000 (18:09 +0000)
commitd64faf6cae5eae40e8cbea132b126ecb710aa9ec
treef80b023fb2e3a1aef0d8c30c9a949d7e868d9276
parent54891de4cb6569e7287335ff85aef994bca94862
Added InstCombine Transform for patterns:
"((~A & B) | A) -> (A | B)" and "((A & B) | ~A) -> (~A | B)"

Original Patch credit to Ankit Jain !!

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

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