Skip to content

Commit

Permalink
Fix broken build after previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xortator committed Oct 26, 2020
1 parent cdccc82 commit bfabd78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bfabd78

Please sign in to comment.