diff options
author | Adam Nemet <anemet@apple.com> | 2016-05-13 22:49:09 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2016-05-13 22:49:09 +0000 |
commit | 4ad38b63d506c25b38176160330b2efd5145f5f7 (patch) | |
tree | a02b91129f871942811728d3f6995e15a3d1d16b /llvm/lib/Analysis/LoopAccessAnalysis.cpp | |
parent | c6afd4bb3606f5545f979c203e2fbff1eb6c0ad5 (diff) | |
download | bcm5719-llvm-4ad38b63d506c25b38176160330b2efd5145f5f7.tar.gz bcm5719-llvm-4ad38b63d506c25b38176160330b2efd5145f5f7.zip |
[LAA] Prepare the code to print more things in the summary. NFC
llvm-svn: 269507
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
-rw-r--r-- | llvm/lib/Analysis/LoopAccessAnalysis.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/LoopAccessAnalysis.cpp b/llvm/lib/Analysis/LoopAccessAnalysis.cpp index 9244b0f9cb6..aeec25464de 100644 --- a/llvm/lib/Analysis/LoopAccessAnalysis.cpp +++ b/llvm/lib/Analysis/LoopAccessAnalysis.cpp @@ -1873,10 +1873,10 @@ LoopAccessInfo::LoopAccessInfo(Loop *L, ScalarEvolution *SE, 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) |