diff options
| author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-10-08 10:05:48 +0000 |
|---|---|---|
| committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-10-08 10:05:48 +0000 |
| commit | c7ab83dfb7d656fb48bc5080e4588744a7c03f77 (patch) | |
| tree | 42cdf15b2c95373d00a5c8aeccd7b58ea6cff26a | |
| parent | dc9be216c0f20dcf49f885ba26af845c709a3b50 (diff) | |
| download | bcm5719-llvm-c7ab83dfb7d656fb48bc5080e4588744a7c03f77.tar.gz bcm5719-llvm-c7ab83dfb7d656fb48bc5080e4588744a7c03f77.zip | |
Remove unused flag polly-allow-non-scev-backedge-taken-count
Drop an unused flag polly-allow-non-scev-backedge-taken-count and also
its occurrences from the tests.
Contributed-by: Chris Jenneisch <chrisj@codeaurora.org>
Differential Revision: http://reviews.llvm.org/D13400
llvm-svn: 249675
| -rw-r--r-- | polly/lib/Analysis/ScopDetection.cpp | 5 | ||||
| -rw-r--r-- | polly/test/ScopInfo/isl_trip_count_01.ll | 2 | ||||
| -rw-r--r-- | polly/test/ScopInfo/isl_trip_count_02.ll | 2 |
3 files changed, 2 insertions, 7 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 353de5e7d01..e2fcaf09dcd 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -156,11 +156,6 @@ static cl::opt<bool> cl::Hidden, cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory)); -static cl::opt<bool> AllowNonSCEVBackedgeTakenCount( - "polly-allow-non-scev-backedge-taken-count", - cl::desc("Allow loops even if SCEV cannot provide a trip count"), - cl::Hidden, cl::init(true), cl::ZeroOrMore, cl::cat(PollyCategory)); - /// @brief The minimal trip count under which loops are considered unprofitable. static const unsigned MIN_LOOP_TRIP_COUNT = 8; diff --git a/polly/test/ScopInfo/isl_trip_count_01.ll b/polly/test/ScopInfo/isl_trip_count_01.ll index f180fb92a95..0b63975c08a 100644 --- a/polly/test/ScopInfo/isl_trip_count_01.ll +++ b/polly/test/ScopInfo/isl_trip_count_01.ll @@ -1,4 +1,4 @@ -; RUN: opt %loadPolly -polly-allow-non-scev-backedge-taken-count -polly-scops -analyze < %s | FileCheck %s +; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s ; ; CHECK: [M, N] -> { Stmt_while_body[i0] : i0 >= 0 and 4i0 <= -M + N; Stmt_while_body[0] : N <= -1 + M } ; diff --git a/polly/test/ScopInfo/isl_trip_count_02.ll b/polly/test/ScopInfo/isl_trip_count_02.ll index b64bbb0f0f4..7fd1cbb25eb 100644 --- a/polly/test/ScopInfo/isl_trip_count_02.ll +++ b/polly/test/ScopInfo/isl_trip_count_02.ll @@ -1,4 +1,4 @@ -; RUN: opt %loadPolly -polly-allow-non-scev-backedge-taken-count -polly-scops -analyze < %s | FileCheck %s +; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s ; ; TODO: We do not allow unbounded loops at the moment. ; |

