[polly] r311243 - Clarify the intend of the run-time check

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 19 09:26:40 PDT 2017


Author: grosser
Date: Sat Aug 19 09:26:39 2017
New Revision: 311243

URL: http://llvm.org/viewvc/llvm-project?rev=311243&view=rev
Log:
Clarify the intend of the run-time check

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=311243&r1=311242&r2=311243&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/IslNodeBuilder.cpp (original)
+++ polly/trunk/lib/CodeGen/IslNodeBuilder.cpp Sat Aug 19 09:26:39 2017
@@ -1560,8 +1560,12 @@ Value *IslNodeBuilder::createRTC(isl_ast
     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");




More information about the llvm-commits mailing list