summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-12-01 08:08:47 +0000
committerTobias Grosser <tobias@grosser.es>2016-12-01 08:08:47 +0000
commitdc6b87c56e4ef0fd88a1e46fc8595883bb0b1435 (patch)
treea82037bca339bd4a0d5ef79757ba312ddd8124d0
parente70b7c3dfb0e740dc47540ca8d5b92d6d58551bf (diff)
downloadbcm5719-llvm-dc6b87c56e4ef0fd88a1e46fc8595883bb0b1435.tar.gz
bcm5719-llvm-dc6b87c56e4ef0fd88a1e46fc8595883bb0b1435.zip
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. llvm-svn: 288323
-rw-r--r--polly/lib/CodeGen/IslNodeBuilder.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/lib/CodeGen/IslNodeBuilder.cpp b/polly/lib/CodeGen/IslNodeBuilder.cpp
index 052e5b3c39a..74a308b3112 100644
--- a/polly/lib/CodeGen/IslNodeBuilder.cpp
+++ b/polly/lib/CodeGen/IslNodeBuilder.cpp
@@ -1356,11 +1356,11 @@ Value *IslNodeBuilder::createRTC(isl_ast_expr *Condition) {
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");
OpenPOWER on IntegriCloud