[PATCH] D132172: [LoopAccessAnalysis] add newline to debug message
Michael Maitland via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 18 13:21:25 PDT 2022
michaelmaitland created this revision.
michaelmaitland added a reviewer: craig.topper.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
michaelmaitland requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
A debug message in `LoopAccessAnalysis` did not have a newline in it,
causing printed debug messages to be formatted incorrectly.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132172
Files:
llvm/lib/Analysis/LoopAccessAnalysis.cpp
Index: llvm/lib/Analysis/LoopAccessAnalysis.cpp
===================================================================
--- llvm/lib/Analysis/LoopAccessAnalysis.cpp
+++ llvm/lib/Analysis/LoopAccessAnalysis.cpp
@@ -1972,7 +1972,7 @@
// 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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132172.453764.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220818/8a6f20ca/attachment.bin>
More information about the llvm-commits
mailing list