Introduced masks where they are not added and improved target dependent
cost models to avoid returning of the incorrect cost results after
Can you split off the target specific cost model changes? This makes it easier to track down potential regressions.
|1408 ↗||(On Diff #337463)|
This should be moved up I think, before the scalable vector handling. It would also be good to have cost-model tests for those shuffles.
Can the finding of a more specific ShuffleKind be done by getShuffleCost when a Mask is given?
There's already a few different changes in this patch (AArch64 cost-model, X86 cost-model and changes to the SLPVectorizer), so I think it makes more sense to do this in a separate patch.