[llvm] f29401f - [LoopVectorize][LoopAccessAnalysis] add newline to debug message
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 18 13:44:17 PDT 2022
Author: Michael Maitland
Date: 2022-08-18T13:44:05-07:00
New Revision: f29401fcdfc1e85318fac5b230e85fc53ffc1be8
URL: https://github.com/llvm/llvm-project/commit/f29401fcdfc1e85318fac5b230e85fc53ffc1be8
DIFF: https://github.com/llvm/llvm-project/commit/f29401fcdfc1e85318fac5b230e85fc53ffc1be8.diff
LOG: [LoopVectorize][LoopAccessAnalysis] add newline to debug message
A debug message in `LoopAccessAnalysis` did not have a newline in it, causing printed debug messages to be formatted incorrectly.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D132172
Added:
Modified:
llvm/lib/Analysis/LoopAccessAnalysis.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/LoopAccessAnalysis.cpp b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
index 8b5513b4e75fc..52d2316fe0501 100644
--- a/llvm/lib/Analysis/LoopAccessAnalysis.cpp
+++ b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
@@ -1972,7 +1972,7 @@ MemoryDepChecker::isDependent(const MemAccessInfo &A, unsigned AIdx,
// Unsafe if the minimum distance needed is greater than max safe distance.
if (MinDistanceNeeded > MaxSafeDepDistBytes) {
LLVM_DEBUG(dbgs() << "LAA: Failure because it needs at least "
- << MinDistanceNeeded << " size in bytes");
+ << MinDistanceNeeded << " size in bytes\n");
return Dependence::Backward;
}
More information about the llvm-commits
mailing list