Revert "[InstCombine] add narrowing transform for low-masked binop with zext operand"
authorSanjay Patel <spatel@rotateright.com>
Fri, 10 Jun 2022 12:12:02 +0000 (08:12 -0400)
committerSanjay Patel <spatel@rotateright.com>
Fri, 10 Jun 2022 12:25:10 +0000 (08:25 -0400)
commit6fedc6a2b41e458f0b3e6143b80aabba2a2c090d
tree4130a45d8b04bd7a9a3967cc3c5cf3302394aaad
parent60d6fbb62110f673477291e135c6c6b2c721f2ee
Revert "[InstCombine] add narrowing transform for low-masked binop with zext operand"

This reverts commit afa192cfb6049a15c5542d132d500b910b802c74.
This can cause an infinite loop as shown with an example in the
post-commit thread.
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/and.ll