From: Tobias Grosser Date: Mon, 9 Mar 2015 06:59:16 +0000 (+0000) Subject: Shorten user report message slightly X-Git-Tag: llvmorg-3.7.0-rc1~9817 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e084ccda3ac4f4e817036ca2df734f3bc1133f4;p=platform%2Fupstream%2Fllvm.git Shorten user report message slightly llvm-svn: 231633 --- diff --git a/polly/lib/Analysis/ScopDetectionDiagnostic.cpp b/polly/lib/Analysis/ScopDetectionDiagnostic.cpp index 1b9d163..4654148 100644 --- a/polly/lib/Analysis/ScopDetectionDiagnostic.cpp +++ b/polly/lib/Analysis/ScopDetectionDiagnostic.cpp @@ -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 { diff --git a/polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll b/polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll index b792fa2..bc641e7 100644 --- a/polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll +++ b/polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll @@ -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.