[polly] r288323 - Add newline at end of debug print

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 1 00:08:48 PST 2016


Author: grosser
Date: Thu Dec  1 02:08:47 2016
New Revision: 288323

URL: http://llvm.org/viewvc/llvm-project?rev=288323&view=rev
Log:
Add newline at end of debug print

In '[DBG] Allow to emit the RTC value at runtime' the diagnostics were printed
without a newline at the end of each diagnostic. We add such a newline to
improve readability.

Modified:
    polly/trunk/lib/CodeGen/IslNodeBuilder.cpp

Modified: polly/trunk/lib/CodeGen/IslNodeBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/IslNodeBuilder.cpp?rev=288323&r1=288322&r2=288323&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/IslNodeBuilder.cpp (original)
+++ polly/trunk/lib/CodeGen/IslNodeBuilder.cpp Thu Dec  1 02:08:47 2016
@@ -1356,11 +1356,11 @@ Value *IslNodeBuilder::createRTC(isl_ast
 
   if (PollyGenerateRTCPrint) {
     auto *F = Builder.GetInsertBlock()->getParent();
-    RuntimeDebugBuilder::createCPUPrinter(Builder,
-                                          "F: " + F->getName().str() + " R: " +
-                                              S.getRegion().getNameStr() +
-                                              " __RTC: ",
-                                          RTC, " Overflow: ", OverflowHappened);
+    RuntimeDebugBuilder::createCPUPrinter(
+        Builder,
+        "F: " + F->getName().str() + " R: " + S.getRegion().getNameStr() +
+            " __RTC: ",
+        RTC, " Overflow: ", OverflowHappened, "\n");
   }
 
   RTC = Builder.CreateAnd(RTC, OverflowHappened, "polly.rtc.result");




More information about the llvm-commits mailing list