Print a newline after printing a Value, now that Value's operator<<
authorDan Gohman <gohman@apple.com>
Mon, 13 Jul 2009 23:03:05 +0000 (23:03 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 13 Jul 2009 23:03:05 +0000 (23:03 +0000)
doesn't print a newline.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75543 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index a252e954a2ed59e7b931b37a1dc3fd0fe8531b02..7c3246dcfa8fd0229d905d8994e996c677c1dba9 100644 (file)
@@ -4953,7 +4953,7 @@ void ScalarEvolution::print(raw_ostream &OS, const Module* ) const {
   OS << "Classifying expressions for: " << F->getName() << "\n";
   for (inst_iterator I = inst_begin(F), E = inst_end(F); I != E; ++I)
     if (isSCEVable(I->getType())) {
-      OS << *I;
+      OS << *I << '\n';
       OS << "  -->  ";
       const SCEV *SV = SE.getSCEV(&*I);
       SV->print(OS);