Skip to content

Commit

Permalink
[LoopVectorize][LoopAccessAnalysis] add newline to debug message
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Michael Maitland authored and topperc committed Aug 18, 2022
1 parent 18f6b05 commit f29401f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Analysis/LoopAccessAnalysis.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit f29401f

Please sign in to comment.