We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b3e344 commit 192fcbbCopy full SHA for 192fcbb
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -1428,8 +1428,8 @@ bool VPlanTransforms::tryAddExplicitVectorLength(VPlan &Plan) {
1428
// of the VF directly. At the moment, widened inductions cannot be updated, so
1429
// bail out if the plan contains any.
1430
bool IncludeWidenInduction = any_of(Header->phis(), [](VPRecipeBase &Phi) {
1431
- return (isa<VPWidenIntOrFpInductionRecipe>(&Phi) ||
1432
- isa<VPWidenPointerInductionRecipe>(&Phi));
+ return isa<VPWidenIntOrFpInductionRecipe, VPWidenPointerInductionRecipe>(
+ &Phi);
1433
});
1434
// FIXME: Remove this once we can transform (select header_mask, true_value,
1435
// false_value) into vp.merge.
0 commit comments