[llvm] 516cc98 - [LV] Fix typo in comment (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 28 13:20:19 PST 2023
Author: Florian Hahn
Date: 2023-12-28T21:20:10Z
New Revision: 516cc98affa509614f1f80dc8870e8ec6183e6c7
URL: https://github.com/llvm/llvm-project/commit/516cc98affa509614f1f80dc8870e8ec6183e6c7
DIFF: https://github.com/llvm/llvm-project/commit/516cc98affa509614f1f80dc8870e8ec6183e6c7.diff
LOG: [LV] Fix typo in comment (NFC).
Added:
Modified:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index f82e161fb846d1..3ed078cc73569e 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -9475,8 +9475,8 @@ void VPWidenMemoryInstructionRecipe::execute(VPTransformState &State) {
InnerLoopVectorizer::VectorParts BlockInMaskParts(State.UF);
bool isMaskRequired = getMask();
if (isMaskRequired) {
- // Mask reversal is only neede for non-all-one (null) masks, as reverse of a
- // null all-one mask is a null mask.
+ // Mask reversal is only needed for non-all-one (null) masks, as reverse of
+ // a null all-one mask is a null mask.
for (unsigned Part = 0; Part < State.UF; ++Part) {
Value *Mask = State.get(getMask(), Part);
if (isReverse())
More information about the llvm-commits
mailing list