[llvm] [LV] Optimize VPWidenIntOrFpInductionRecipe for known TC (PR #118828)

Hari Limaye via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 27 03:58:59 PDT 2025


================
@@ -1063,7 +1138,7 @@ void VPlanTransforms::optimizeForVFAndUF(VPlan &Plan, ElementCount BestVF,
 
     VPBlockUtils::connectBlocks(Preheader, Header);
     VPBlockUtils::connectBlocks(ExitingVPBB, Exit);
-    simplifyRecipes(Plan, *CanIVTy);
+    VPlanTransforms::simplifyRecipes(Plan, *CanIVTy);
----------------
hazzlim wrote:

This is actually necessary - because this logic has been moved into a (static) non-member function we now need the class scope when calling the `simplifyRecipes()`

https://github.com/llvm/llvm-project/pull/118828


More information about the llvm-commits mailing list