[InstCombine] Add checks for and(logicalshift(zext(x),undef),y) cases
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 7 Oct 2020 19:59:31 +0000 (20:59 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 7 Oct 2020 19:59:31 +0000 (20:59 +0100)
commitfe0197e194a64f950602fb50736b6648a9e5b2a9
tree28a407ae148b3e3fe9eb574a3588cdc2e212f1a7
parenta85e43e99676811a25f495169ee9fc9f11815a17
[InstCombine] Add checks for and(logicalshift(zext(x),undef),y) cases

Prep work before some cleanup in narrowMaskedBinOp
llvm/test/Transforms/InstCombine/and-narrow.ll