]> granicus.if.org Git - llvm/commit
[InstCombine] Add test cases for (X & (Y | ~X)) -> (X & Y) where the not is an invert...
authorCraig Topper <craig.topper@intel.com>
Sat, 15 Jul 2017 17:09:23 +0000 (17:09 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 15 Jul 2017 17:09:23 +0000 (17:09 +0000)
commit59f9abe0f8b692031d22f8e05f7e194288d545bc
tree9cb47c1725e2fc0affa7ee7a3843b81b36e7ed3c
parentc301a9eeef8342000e30e323b1a585d563cf5729
[InstCombine] Add test cases for (X & (Y | ~X)) -> (X & Y) where the not is an inverted compare. NFC

Do the same for (X | (Y & ~X)) -> (X | Y)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308104 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/and.ll
test/Transforms/InstCombine/or.ll