[InstCombine] Add some (vXi1 trunc(lshr(x,c))) -> icmp_eq(and(x,c')) tests for non...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 2 Jul 2020 10:56:32 +0000 (11:56 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 2 Jul 2020 10:56:51 +0000 (11:56 +0100)
commit421c02e5c6b376fbbd8cc61c20feb35f1cee7a5a
treed153ccac78439cbb0c535006d834babaad57775c
parent11c4bb0c7cbd91c1e58395363d4dec2b2a803450
[InstCombine] Add some (vXi1 trunc(lshr(x,c))) -> icmp_eq(and(x,c')) tests for non-uniform vectors

As noticed on PR46531
llvm/test/Transforms/InstCombine/apint-shift.ll
llvm/test/Transforms/InstCombine/icmp.ll