[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:58 PST 2025
    
    
  
================
@@ -9370,16 +9400,30 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
         // after them)
         // * Optimizing truncates to VPWidenIntOrFpInductionRecipe.
 
-        assert((HeaderVPBB->getFirstNonPhi() == VPBB->end() ||
-                CM.foldTailByMasking() || isa<TruncInst>(Instr)) &&
-               "unexpected recipe needs moving");
----------------
fhahn wrote:
Updated to only move truncated inductions, for which it still is needed
https://github.com/llvm/llvm-project/pull/124432
    
    
More information about the llvm-commits
mailing list