[llvm] b719c92 - [SLP] findBestRootPair - fix incorrect argument name comment. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 30 06:46:11 PDT 2024
Author: Simon Pilgrim
Date: 2024-08-30T14:45:48+01:00
New Revision: b719c9255126aeba7a9455fd026471c45c988e2d
URL: https://github.com/llvm/llvm-project/commit/b719c9255126aeba7a9455fd026471c45c988e2d
DIFF: https://github.com/llvm/llvm-project/commit/b719c9255126aeba7a9455fd026471c45c988e2d.diff
LOG: [SLP] findBestRootPair - fix incorrect argument name comment. NFC.
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 7b80b9ad7ce38d..4c0a1c4c094b95 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -2605,7 +2605,7 @@ class BoUpSLP {
int Score = LookAhead.getScoreAtLevelRec(Candidates[I].first,
Candidates[I].second,
/*U1=*/nullptr, /*U2=*/nullptr,
- /*Level=*/1, std::nullopt);
+ /*CurrLevel=*/1, std::nullopt);
if (Score > BestScore) {
BestScore = Score;
Index = I;
More information about the llvm-commits
mailing list