[llvm] [InstCombine] Do not perform binop-of-shuffle when mask is poison (PR #82185)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 18 12:43:59 PST 2024


antoniofrighetto wrote:

> It looks like only your third test is problematic: https://alive2.llvm.org/ce/z/WrH49f
can the fix be made more precise?

Wouldn't that require to know right / left demanded of the mask of the use of the operand passed to `SimplifyDemandedVectorElts` (`%msplat`)? Not sure if there's a better / worth way to do this.

https://github.com/llvm/llvm-project/pull/82185


More information about the llvm-commits mailing list