Simon Pilgrim e25db2f6b3
[CostModel] getInstructionCost - match SK_InsertSubvector shuffle patterns before SK_Select (#145920)
More closely match improveShuffleKindFromMask's shuffle ordering by
trying to match a SK_InsertSubvector shuffles patterns before SK_Select
- both can match many of the same patterns, but its much easier to
recognise when a SK_InsertSubvector can be converted to SK_Select than
vice-versa.

Another step towards #145335 - which I'm hoping will allow us to
generalise improveShuffleKindFromMask and remove getInstructionCost's
shuffle matching entirely.
2025-06-26 20:15:51 +01:00
..