llvm-project
51a09512 - [InstCombine][X86] Only demand used bits for PSHUFB mask values (#106377)

Commit
1 year ago
[InstCombine][X86] Only demand used bits for PSHUFB mask values (#106377) (V)PSHUFB only uses the sign bit (for zeroing) and the lower 4 bits (to index per-lane byte 0-15) - so use SimplifyDemandedBits to ignore anything touching the remaining bits. Fixes #106256
Author
Parents
Loading