From 6e084ccda3ac4f4e817036ca2df734f3bc1133f4 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Mon, 9 Mar 2015 06:59:16 +0000 Subject: [PATCH] Shorten user report message slightly llvm-svn: 231633 --- polly/lib/Analysis/ScopDetectionDiagnostic.cpp | 3 +-- polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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. -- 2.7.4