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.

llvm-svn: 249973
This commit is contained in:
Tobias Grosser 2015-10-11 13:39:17 +00:00
parent 5e896ce2d1
commit 3ecb71696b
1 changed files with 5 additions and 0 deletions

View File

@ -79,6 +79,11 @@ static cl::opt<bool, true> XPollyProcessUnprofitable(
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"),