diff options
| -rw-r--r-- | llvm/lib/Analysis/MustExecute.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MustExecute.cpp b/llvm/lib/Analysis/MustExecute.cpp index 4ec9cde451a..ed847c9109a 100644 --- a/llvm/lib/Analysis/MustExecute.cpp +++ b/llvm/lib/Analysis/MustExecute.cpp @@ -58,7 +58,7 @@ void LoopSafetyInfo::computeLoopSafetyInfo(Loop *CurLoop) {  /// Return true if we can prove that the given ExitBlock is not reached on the  /// first iteration of the given loop.  That is, the backedge of the loop must  /// be executed before the ExitBlock is executed in any dynamic execution trace. -static bool CanProveNotTakenFirstIteration(BasicBlock *ExitBlock, +static bool CanProveNotTakenFirstIteration(const BasicBlock *ExitBlock,                                             const DominatorTree *DT,                                             const Loop *CurLoop) {    auto *CondExitBlock = ExitBlock->getSinglePredecessor();  | 

