[InstCombine] Support vectors-with-undef in and(logicalshift(1,X),1) --> zext(X ...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 16 Oct 2020 15:06:14 +0000 (16:06 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 19 Oct 2020 10:10:32 +0000 (11:10 +0100)
commit0b7b446a406be2e7d28460d17de4746b47543691
tree9b28e378695545094aa11ef15980564c6db00ea2
parent2d1fea29231f1998e7123b3a1ce177284ae41cec
[InstCombine] Support vectors-with-undef in and(logicalshift(1,X),1) --> zext(X == 0) fold
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/and2.ll