Skip to content

Commit 2e662f7

Browse files
committed
[VPlan] Fix error in comment (NFC)
1 parent 04ac4c6 commit 2e662f7

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
@@ -7565,7 +7565,7 @@ createWidenInductionRecipes(PHINode *Phi, Instruction *PhiOrTrunc,
75657565

75667566
// It is always safe to copy over the NoWrap and FastMath flags. In
75677567
// particular, when folding tail by masking, the masked-off lanes are never
7568-
// executed, so it is safe.
7568+
// used, so it is safe.
75697569
VPIRFlags Flags = vputils::getFlagsFromIndDesc(IndDesc);
75707570
VPValue *Step =
75717571
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)