[InstCombine] make ((X & C) ^ C) form consistent for vectors
authorSanjay Patel <spatel@rotateright.com>
Tue, 4 Sep 2018 21:17:14 +0000 (21:17 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 4 Sep 2018 21:17:14 +0000 (21:17 +0000)
commit0f70f86ce08f2535cb1cd9bffe159c55171f531d
treefb425ff77974844b993728289683799e99207bd1
parentf4ad2cb24f87ab4774d0df86d446a1735304f08e
[InstCombine] make ((X & C) ^ C) form consistent for vectors

It would be better to create a 'not' here, but that's not possible yet.

llvm-svn: 341410
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/zext.ll