Split up tryToBuildVPlanWithVPRecipes into intial plan creation and
optimizations.
Depends on D154640.
Differential D154644
[LV] Split off code to create initial VPlan (NFC). fhahn on Jul 6 2023, 12:27 PM. Authored by
Details Split up tryToBuildVPlanWithVPRecipes into intial plan creation and Depends on D154640.
Diff Detail
Event TimelineComment Actions Thanks for following-up with refactoring the excessive tryToBuildVPlanWithVPRecipes!
Comment Actions Restructure code as suggested by first only splitting off pure VPlan-to-VPlan optimizations. Comment Actions This looks good to me, thanks! Adding a couple of final nits.
|
An alternative refactoring may be to outline the second "Now optimize the initial VPlan" part, rather than the first "build Initial VPlan" part. This could be done perhaps by introducing a new VPlanTransforms::process(VPlan) method which manages all passes, similar to the meta-pass createAndOptimizeReplicateRegions().