summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LoopInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Analysis/LoopInfo.cpp')
-rw-r--r--llvm/lib/Analysis/LoopInfo.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp
index 419f013c0e7..5d481a4131a 100644
--- a/llvm/lib/Analysis/LoopInfo.cpp
+++ b/llvm/lib/Analysis/LoopInfo.cpp
@@ -54,6 +54,13 @@ static cl::opt<bool, true>
VerifyLoopInfoX("verify-loop-info", cl::location(VerifyLoopInfo),
cl::Hidden, cl::desc("Verify loop info (time consuming)"));
+namespace llvm {
+cl::opt<uint64_t> MaxDedicateExitIterations(
+ "max-dedicate-exit-iterations", cl::Hidden, cl::init(100000),
+ cl::desc("Max number of loop iterations to check whether a loop is a "
+ "dedicated exit loop. "));
+}
+
//===----------------------------------------------------------------------===//
// Loop implementation
//
OpenPOWER on IntegriCloud