[llvm] 7002125 - [LV][NFC] Fix debug message to print out resulting clamped VF
Evgeniy Brevnov via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 13 03:55:23 PST 2021
Author: Evgeniy Brevnov
Date: 2021-12-13T18:54:05+07:00
New Revision: 7002125cff56a4dcd5f1d9b73579483ebe9a7aa9
URL: https://github.com/llvm/llvm-project/commit/7002125cff56a4dcd5f1d9b73579483ebe9a7aa9
DIFF: https://github.com/llvm/llvm-project/commit/7002125cff56a4dcd5f1d9b73579483ebe9a7aa9.diff
LOG: [LV][NFC] Fix debug message to print out resulting clamped VF
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 04a0d676039a..2934de02bb01 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -5616,7 +5616,7 @@ ElementCount LoopVectorizationCostModel::getMaximizedVFForTarget(
auto ClampedConstTripCount = PowerOf2Floor(ConstTripCount);
LLVM_DEBUG(dbgs() << "LV: Clamping the MaxVF to maximum power of two not "
"exceeding the constant trip count: "
- << ConstTripCount << "\n");
+ << ClampedConstTripCount << "\n");
return ElementCount::getFixed(ClampedConstTripCount);
}
More information about the llvm-commits
mailing list