[polly] 7e29e57 - [Polly] Fix misleading debug message. NFC.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 14 14:26:42 PDT 2021


Author: Michael Kruse
Date: 2021-07-14T16:25:45-05:00
New Revision: 7e29e57917a9ecb8f1b07aa2d99b0fbea91cda61

URL: https://github.com/llvm/llvm-project/commit/7e29e57917a9ecb8f1b07aa2d99b0fbea91cda61
DIFF: https://github.com/llvm/llvm-project/commit/7e29e57917a9ecb8f1b07aa2d99b0fbea91cda61.diff

LOG: [Polly] Fix misleading debug message. NFC.

The number of parameters can be the reason for aliasing checks not being
generated, but most of the time it for other reasons.

Added: 
    

Modified: 
    polly/lib/Analysis/ScopBuilder.cpp

Removed: 
    


################################################################################
diff  --git a/polly/lib/Analysis/ScopBuilder.cpp b/polly/lib/Analysis/ScopBuilder.cpp
index c5ba4fdf94d06..012a793d1c146 100644
--- a/polly/lib/Analysis/ScopBuilder.cpp
+++ b/polly/lib/Analysis/ScopBuilder.cpp
@@ -3407,13 +3407,8 @@ bool ScopBuilder::buildAliasChecks() {
   // we make the assumed context infeasible.
   scop->invalidate(ALIASING, DebugLoc());
 
-  LLVM_DEBUG(
-      dbgs() << "\n\nNOTE: Run time checks for " << scop->getNameStr()
-             << " could not be created as the number of parameters involved "
-                "is too high. The SCoP will be "
-                "dismissed.\nUse:\n\t--polly-rtc-max-parameters=X\nto adjust "
-                "the maximal number of parameters but be advised that the "
-                "compile time might increase exponentially.\n\n");
+  LLVM_DEBUG(dbgs() << "\n\nNOTE: Run time checks for " << scop->getNameStr()
+                    << " could not be created. This SCoP has been dismissed.");
   return false;
 }
 


        


More information about the llvm-commits mailing list