Skip to content

Commit 516cc98

Browse files
committed
[LV] Fix typo in comment (NFC).
1 parent 1d2fab7 commit 516cc98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9475,8 +9475,8 @@ void VPWidenMemoryInstructionRecipe::execute(VPTransformState &State) {
94759475
InnerLoopVectorizer::VectorParts BlockInMaskParts(State.UF);
94769476
bool isMaskRequired = getMask();
94779477
if (isMaskRequired) {
9478-
// Mask reversal is only neede for non-all-one (null) masks, as reverse of a
9479-
// null all-one mask is a null mask.
9478+
// Mask reversal is only needed for non-all-one (null) masks, as reverse of
9479+
// a null all-one mask is a null mask.
94809480
for (unsigned Part = 0; Part < State.UF; ++Part) {
94819481
Value *Mask = State.get(getMask(), Part);
94829482
if (isReverse())

0 commit comments

Comments
 (0)