File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1427,7 +1427,7 @@ bool VPlanTransforms::tryAddExplicitVectorLength(VPlan &Plan) {
1427
1427
// The transform updates all users of inductions to work based on EVL, instead
1428
1428
// of the VF directly. At the moment, widened inductions cannot be updated, so
1429
1429
// bail out if the plan contains any.
1430
- bool IncludeWidenInduction = any_of (Header->phis (), [](VPRecipeBase &Phi) {
1430
+ bool ContainsWidenInductions = any_of (Header->phis (), [](VPRecipeBase &Phi) {
1431
1431
return isa<VPWidenIntOrFpInductionRecipe, VPWidenPointerInductionRecipe>(
1432
1432
&Phi);
1433
1433
});
@@ -1437,7 +1437,7 @@ bool VPlanTransforms::tryAddExplicitVectorLength(VPlan &Plan) {
1437
1437
auto *R = dyn_cast<VPReductionPHIRecipe>(&Phi);
1438
1438
return R && !R->isInLoop ();
1439
1439
});
1440
- if (IncludeWidenInduction || IncludeOutloopReduction)
1440
+ if (ContainsWidenInductions || IncludeOutloopReduction)
1441
1441
return false ;
1442
1442
1443
1443
auto *CanonicalIVPHI = Plan.getCanonicalIV ();
You can’t perform that action at this time.
0 commit comments