]> granicus.if.org Git - llvm/commit
[InstCombine] allow (0 - x) & 1 --> x & 1 for vectors
authorSanjay Patel <spatel@rotateright.com>
Sat, 15 Jul 2017 15:29:47 +0000 (15:29 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sat, 15 Jul 2017 15:29:47 +0000 (15:29 +0000)
commite039298b16a1f52a5fb63eac3838e21a46d223c9
tree027e6f5dce30405413747ad7d143ab3a2cd6685e
parent170e6bc8a49fd2672c103f22f47830b1d03b47a1
[InstCombine] allow (0 - x) & 1 --> x & 1 for vectors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308098 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
test/Transforms/InstCombine/and2.ll