[llvm] [VPlan] Build initial VPlan 0 using HCFGBuilder for inner loops. (NFC) (PR #124432)
    Florian Hahn via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb  3 14:24:56 PST 2025
    
    
  
================
@@ -9229,6 +9230,10 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
                                             PSE, RequiresScalarEpilogueCheck,
                                             CM.foldTailByMasking(), OrigLoop);
 
+  // Build hierarchical CFG.
+  VPlanHCFGBuilder HCFGBuilder(OrigLoop, LI, *Plan);
+  HCFGBuilder.buildHierarchicalCFG();
----------------
fhahn wrote:
Sounds good, maybe best to merge as follow-up
https://github.com/llvm/llvm-project/pull/124432
    
    
More information about the llvm-commits
mailing list