[polly] r249973 - Add back -polly-detect-unprofitable as alias of -polly-process-unprofitable

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 11 06:39:17 PDT 2015


Author: grosser
Date: Sun Oct 11 08:39:17 2015
New Revision: 249973

URL: http://llvm.org/viewvc/llvm-project?rev=249973&view=rev
Log:
Add back -polly-detect-unprofitable as alias of -polly-process-unprofitable

This flag was still used in our LNT server. We leave it until it has been
removed from LNT as well.

Modified:
    polly/trunk/lib/Analysis/ScopDetection.cpp

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=249973&r1=249972&r2=249973&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Sun Oct 11 08:39:17 2015
@@ -79,6 +79,11 @@ static cl::opt<bool, true> XPollyProcess
     cl::location(PollyProcessUnprofitable), cl::init(false), cl::ZeroOrMore,
     cl::cat(PollyCategory));
 
+static cl::alias
+    DetectUnprofitableAlias("polly-detect-unprofitable",
+                            cl::desc("Alias for -polly-process-unprofitable"),
+                            cl::aliasopt(XPollyProcessUnprofitable));
+
 static cl::opt<std::string> OnlyFunction(
     "polly-only-func",
     cl::desc("Only run on functions that contain a certain string"),




More information about the llvm-commits mailing list