From bfabd7878b3240732d64b09eeadbc1eccc21910a Mon Sep 17 00:00:00 2001 From: Max Kazantsev Date: Mon, 26 Oct 2020 14:55:46 +0700 Subject: [PATCH] Fix broken build after previous commit --- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp index 122ee38..ca242898 100644 --- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -2423,8 +2423,7 @@ bool IndVarSimplify::optimizeLoopExits(Loop *L, SCEVExpander &Rewriter) { } return false; }; - if (OptimizeCond(false, MaxExitCount) || - OptimizeCond(true, MaxExitCount)) + if (OptimizeCond(false) || OptimizeCond(true)) Changed = true; continue; } -- 2.7.4