[llvm] 80cff27 - [LV][NFC]Fix a misprint, NFC.
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 28 07:56:41 PST 2024
Author: Alexey Bataev
Date: 2024-02-28T07:56:31-08:00
New Revision: 80cff273906b200eed2f779913f49a64cad8c0c6
URL: https://github.com/llvm/llvm-project/commit/80cff273906b200eed2f779913f49a64cad8c0c6
DIFF: https://github.com/llvm/llvm-project/commit/80cff273906b200eed2f779913f49a64cad8c0c6.diff
LOG: [LV][NFC]Fix a misprint, 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 e5bce7299a970f..6b16923213c86e 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -1517,7 +1517,7 @@ class LoopVectorizationCostModel {
/// Selects and saves TailFoldingStyle for 2 options - if IV update may
/// overflow or not.
- void setTailFoldinStyles() {
+ void setTailFoldingStyles() {
assert(ChosenTailFoldingStyle.first == TailFoldingStyle::None &&
ChosenTailFoldingStyle.second == TailFoldingStyle::None &&
"Tail folding must not be selected yet.");
@@ -4652,7 +4652,7 @@ LoopVectorizationCostModel::computeMaxVF(ElementCount UserVF, unsigned UserIC) {
// found modulo the vectorization factor is not zero, try to fold the tail
// by masking.
// FIXME: look for a smaller MaxVF that does divide TC rather than masking.
- setTailFoldinStyles();
+ setTailFoldingStyles();
if (foldTailByMasking())
return MaxFactors;
More information about the llvm-commits
mailing list