From 9f2eb24c0685a0bc721b545a7f2c1fad40150425 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Sat, 19 Aug 2017 16:26:39 +0000 Subject: [PATCH] Clarify the intend of the run-time check llvm-svn: 311243 --- polly/lib/CodeGen/IslNodeBuilder.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/polly/lib/CodeGen/IslNodeBuilder.cpp b/polly/lib/CodeGen/IslNodeBuilder.cpp index da66215178b8..98c8e304cbce 100644 --- a/polly/lib/CodeGen/IslNodeBuilder.cpp +++ b/polly/lib/CodeGen/IslNodeBuilder.cpp @@ -1560,8 +1560,12 @@ Value *IslNodeBuilder::createRTC(isl_ast_expr *Condition) { RuntimeDebugBuilder::createCPUPrinter( Builder, "F: " + F->getName().str() + " R: " + S.getRegion().getNameStr() + - " __RTC: ", - RTC, " Overflow: ", OverflowHappened, "\n"); + "RTC: ", + RTC, " Overflow: ", OverflowHappened, + "\n" + " (0 failed, -1 succeeded)\n" + " (if one or both are 0 falling back to original code, if both are -1 " + "executing Polly code)\n"); } RTC = Builder.CreateAnd(RTC, OverflowHappened, "polly.rtc.result");