[InstCombine] Fix Incorrect fold of ashr+xor -> lshr w/ vectors
authorJonathan Roelofs <jroelofs@jroelofs.com>
Wed, 25 Mar 2020 20:50:16 +0000 (14:50 -0600)
committerJonathan Roelofs <jroelofs@jroelofs.com>
Thu, 26 Mar 2020 18:09:36 +0000 (12:09 -0600)
commit7a89a5d81bbdc0ab6dbd14d9af4a52e64c868423
treecb12abbb529291ea9ca0406153ee1e0ae342c543
parentfe025a34902b3dff5e98588f0fdee7023274731a
[InstCombine] Fix Incorrect fold of ashr+xor -> lshr w/ vectors

Fixes https://bugs.llvm.org/show_bug.cgi?id=43665
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/vector-xor.ll