[llvm] 484fcb9 - [SLP][NFC]Fix a comment.

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 09:27:44 PDT 2022


Author: Alexey Bataev
Date: 2022-04-29T09:27:13-07:00
New Revision: 484fcb98883ffc43d2daab6f29e2569399950936

URL: https://github.com/llvm/llvm-project/commit/484fcb98883ffc43d2daab6f29e2569399950936
DIFF: https://github.com/llvm/llvm-project/commit/484fcb98883ffc43d2daab6f29e2569399950936.diff

LOG: [SLP][NFC]Fix a comment.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index a60cea3cb4ce..3dabe0f8862b 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -5093,7 +5093,7 @@ computeExtractCost(ArrayRef<Value *> VL, FixedVectorType *VecTy,
 
     // If we have a series of extracts which are not consecutive and hence
     // cannot re-use the source vector register directly, compute the shuffle
-    // cost to extract the a vector with EltsPerVector elements.
+    // cost to extract the vector with EltsPerVector elements.
     Cost += TTI.getShuffleCost(
         TargetTransformInfo::SK_PermuteSingleSrc,
         FixedVectorType::get(VecTy->getElementType(), EltsPerVector), RegMask);


        


More information about the llvm-commits mailing list