[polly] r249675 - Remove unused flag polly-allow-non-scev-backedge-taken-count

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 03:05:48 PDT 2015


Author: jdoerfert
Date: Thu Oct  8 05:05:48 2015
New Revision: 249675

URL: http://llvm.org/viewvc/llvm-project?rev=249675&view=rev
Log:
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 at codeaurora.org>

Differential Revision: http://reviews.llvm.org/D13400


Modified:
    polly/trunk/lib/Analysis/ScopDetection.cpp
    polly/trunk/test/ScopInfo/isl_trip_count_01.ll
    polly/trunk/test/ScopInfo/isl_trip_count_02.ll

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=249675&r1=249674&r2=249675&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Thu Oct  8 05:05:48 2015
@@ -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;
 

Modified: polly/trunk/test/ScopInfo/isl_trip_count_01.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/isl_trip_count_01.ll?rev=249675&r1=249674&r2=249675&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/isl_trip_count_01.ll (original)
+++ polly/trunk/test/ScopInfo/isl_trip_count_01.ll Thu Oct  8 05:05:48 2015
@@ -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 }
 ;

Modified: polly/trunk/test/ScopInfo/isl_trip_count_02.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/isl_trip_count_02.ll?rev=249675&r1=249674&r2=249675&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/isl_trip_count_02.ll (original)
+++ polly/trunk/test/ScopInfo/isl_trip_count_02.ll Thu Oct  8 05:05:48 2015
@@ -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.
 ;




More information about the llvm-commits mailing list