[llvm] r269507 - [LAA] Prepare the code to print more things in the summary. NFC
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Fri May 13 15:49:10 PDT 2016
Author: anemet
Date: Fri May 13 17:49:09 2016
New Revision: 269507
URL: http://llvm.org/viewvc/llvm-project?rev=269507&view=rev
Log:
[LAA] Prepare the code to print more things in the summary. NFC
Modified:
llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp?rev=269507&r1=269506&r2=269507&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp Fri May 13 17:49:09 2016
@@ -1873,10 +1873,10 @@ LoopAccessInfo::LoopAccessInfo(Loop *L,
void LoopAccessInfo::print(raw_ostream &OS, unsigned Depth) const {
if (CanVecMem) {
+ OS.indent(Depth) << "Memory dependences are safe";
if (PtrRtChecking.Need)
- OS.indent(Depth) << "Memory dependences are safe with run-time checks\n";
- else
- OS.indent(Depth) << "Memory dependences are safe\n";
+ OS << " with run-time checks";
+ OS << "\n";
}
if (Report)
More information about the llvm-commits
mailing list