From 484fcb98883ffc43d2daab6f29e2569399950936 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Fri, 29 Apr 2022 09:27:13 -0700 Subject: [PATCH] [SLP][NFC]Fix a comment. --- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index a60cea3..3dabe0f 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -5093,7 +5093,7 @@ computeExtractCost(ArrayRef 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); -- 2.7.4