[llvm] [VPlan] Add support for VPWidenIntOrFpInductionRecipe in predicated D… (PR #115274)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 05:10:07 PST 2024


================
@@ -1569,8 +1689,7 @@ bool VPlanTransforms::tryAddExplicitVectorLength(
   // of the VF directly. At the moment, widened inductions cannot be updated, so
   // bail out if the plan contains any.
   bool ContainsWidenInductions = any_of(Header->phis(), [](VPRecipeBase &Phi) {
-    return isa<VPWidenIntOrFpInductionRecipe, VPWidenPointerInductionRecipe>(
-        &Phi);
+    return isa<VPWidenPointerInductionRecipe>(&Phi);
   });
----------------
arcbbb wrote:

Fixed, Thanks!

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


More information about the llvm-commits mailing list