[polly] r231633 - Shorten user report message slightly

Tobias Grosser tobias at grosser.es
Sun Mar 8 23:59:16 PDT 2015


Author: grosser
Date: Mon Mar  9 01:59:16 2015
New Revision: 231633

URL: http://llvm.org/viewvc/llvm-project?rev=231633&view=rev
Log:
Shorten user report message slightly

Modified:
    polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp
    polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll

Modified: polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp?rev=231633&r1=231632&r2=231633&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp Mon Mar  9 01:59:16 2015
@@ -602,8 +602,7 @@ std::string ReportUnprofitable::getMessa
 }
 
 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 {

Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll?rev=231633&r1=231632&r2=231633&view=diff
==============================================================================
--- polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll (original)
+++ polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll Mon Mar  9 01:59:16 2015
@@ -13,11 +13,11 @@ target triple = "x86_64-unknown-linux-gn
 ; }
 
 ; 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.
 
 





More information about the llvm-commits mailing list