Shorten user report message slightly
authorTobias Grosser <tobias@grosser.es>
Mon, 9 Mar 2015 06:59:16 +0000 (06:59 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 9 Mar 2015 06:59:16 +0000 (06:59 +0000)
llvm-svn: 231633

polly/lib/Analysis/ScopDetectionDiagnostic.cpp
polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll

index 1b9d163..4654148 100644 (file)
@@ -602,8 +602,7 @@ std::string ReportUnprofitable::getMessage() const {
 }
 
 std::string ReportUnprofitable::getEndUserMessage() const {
-  return "The regions does not seem to be amendable to profitable polyhedral "
-         "optimization";
+  return "No profitable polyhedral optimization found";
 }
 
 const DebugLoc &ReportUnprofitable::getDebugLoc() const {
index b792fa2..bc641e7 100644 (file)
@@ -13,11 +13,11 @@ target triple = "x86_64-unknown-linux-gnu"
 ; }
 
 ; CHECK: remark: /tmp/test.c:2:3: The following errors keep this region from being a Scop.
-; CHECK: remark: /tmp/test.c:2:3: The regions does not seem to be amendable to profitable polyhedral optimization
+; CHECK: remark: /tmp/test.c:2:3: No profitable polyhedral optimization found
 ; CHECK: remark: /tmp/test.c:3:10: Invalid Scop candidate ends here.
 
 ; CHECK: remark: /tmp/test.c:7:3: The following errors keep this region from being a Scop.
-; CHECK: remark: /tmp/test.c:7:3: The regions does not seem to be amendable to profitable polyhedral optimization
+; CHECK: remark: /tmp/test.c:7:3: No profitable polyhedral optimization found
 ; CHECK: remark: /tmp/test.c:8:10: Invalid Scop candidate ends here.