[llvm] [VPlan] Support VPWidenIntOrFpInductionRecipes with EVL tail folding (PR #144666)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 30 04:56:12 PDT 2025


================
@@ -2194,6 +2194,8 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
   for (VPUser *U : to_vector(Plan.getVF().users())) {
     if (auto *R = dyn_cast<VPVectorEndPointerRecipe>(U))
       R->setOperand(1, &EVL);
+    if (auto *R = dyn_cast<VPWidenIntOrFpInductionRecipe>(U))
+      R->setVFValue(&EVL);
----------------
lukel97 wrote:

Done in https://github.com/llvm/llvm-project/pull/146339

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


More information about the llvm-commits mailing list