Skip to content

Commit f63a025

Browse files
committed
[LV] Fix nit in comment
1 parent 4d12229 commit f63a025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7487,7 +7487,7 @@ VPRecipeBuilder::tryToWidenMemory(Instruction *I, ArrayRef<VPValue *> Operands,
74877487
VPSingleDefRecipe *VectorPtr;
74887488
if (Reverse) {
74897489
// When folding the tail, we may compute an address that we don't in the
7490-
// original scalar loop: use none in this case.
7490+
// original scalar loop: drop the GEP no-wrap flags in this case.
74917491
GEPNoWrapFlags Flags =
74927492
CM.foldTailByMasking() || !GEP
74937493
? GEPNoWrapFlags::none()

0 commit comments

Comments
 (0)