Skip to content

Commit aacb2d1

Browse files
committed
[VPlan] Fix error in comment (NFC)
1 parent 0128fe7 commit aacb2d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7572,7 +7572,7 @@ createWidenInductionRecipes(PHINode *Phi, Instruction *PhiOrTrunc,
75727572

75737573
// It is always safe to copy over the NoWrap and FastMath flags. In
75747574
// particular, when folding tail by masking, the masked-off lanes are never
7575-
// executed, so it is safe.
7575+
// used, so it is safe.
75767576
VPIRFlags Flags = vputils::getFlagsFromIndDesc(IndDesc);
75777577
VPValue *Step =
75787578
vputils::getOrCreateVPValueForSCEVExpr(Plan, IndDesc.getStep());

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ bool VPlanTransforms::tryToConvertVPInstructionsToVPRecipes(
8282
vputils::getOrCreateVPValueForSCEVExpr(Plan, II->getStep());
8383
// It is always safe to copy over the NoWrap and FastMath flags. In
8484
// particular, when folding tail by masking, the masked-off lanes are
85-
// never executed, so it is safe.
85+
// never used, so it is safe.
8686
VPIRFlags Flags = vputils::getFlagsFromIndDesc(*II);
8787
NewRecipe = new VPWidenIntOrFpInductionRecipe(
8888
Phi, Start, Step, &Plan.getVF(), *II, Flags,

0 commit comments

Comments
 (0)