Unverified Commit 55304d0d authored by Simon Pilgrim's avatar Simon Pilgrim Committed by GitHub
Browse files

[CostModel] getInstructionCost - improve estimation of costs for length changing shuffles (#84156)

Fix gap in the cost estimation for length changing shuffles, by adjusting the shuffle mask and either widening the shuffle inputs or extracting the lower elements of the result.

A small step towards moving some of this implementation inside improveShuffleKindFromMask and/or target getShuffleCost handlers (and reduce the diffs in cost estimation depending on whether coming from a ShuffleVectorInst or the raw operands / mask components)
parent 245d669f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment