llvm-project
da201e07 - [X86] LowerFunnelShift - don't pre-apply modulo mask before splitting large vectors with a splat shift amount (#247715)

Commit
9 hours ago
[X86] LowerFunnelShift - don't pre-apply modulo mask before splitting large vectors with a splat shift amount (#247715) We should prefer SPLAT(AND(AMT,BW-1)) to AND(SPLAT(AMT),BW-1)) - we're unwrapping the SPLAT anyhow, but splitting the instruction can prevent further shuffle folding. Avoids a use case for the AND(X,0) SimplifyDemandedVectorElts fold that is causing so many POISON issues.
Author
Parents
Loading