[LAA] Prepare the code to print more things in the summary. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269507 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adam Nemet 2016-05-13 22:49:09 +00:00
parent 20520cf22a
commit 1903559e5a

View File

@ -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)