You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[VPlan] Implement transformation of widen-cast/widen-mul + reduction to abstract recipe.
This patch implements the transformation that match the following
patterns in the vplan and converts to abstract recipes for better cost
estimation.
* VPExtendedReductionRecipe
- cast + reduction.
* VPMulAccumulateReductionRecipe
- (cast) + mul + reduction.
The conveted abstract recipes will be lower to the concrete recipes
(widen-cast + widen-mul + reduction) just before vector codegen.
This should be a cost-model based decision which will be implemented in the
following patch. In current status, still rely on the legacy cost model
to calaulate the right cost.
Split from #113903.
0 commit comments