[NFC] Add const to method signature
authorMax Kazantsev <max.kazantsev@azul.com>
Tue, 15 May 2018 01:21:56 +0000 (01:21 +0000)
committerMax Kazantsev <max.kazantsev@azul.com>
Tue, 15 May 2018 01:21:56 +0000 (01:21 +0000)
llvm-svn: 332317

llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp

index 92dc214..aa7c2b3 100644 (file)
@@ -806,7 +806,7 @@ static bool CannotBeMinInLoop(const SCEV *BoundSCEV, Loop *L,
                                      SE.getConstant(Min));
 }
 
-static bool isKnownNonNegativeInLoop(const SCEV *BoundSCEV, Loop *L,
+static bool isKnownNonNegativeInLoop(const SCEV *BoundSCEV, const Loop *L,
                                      ScalarEvolution &SE) {
   const SCEV *Zero = SE.getZero(BoundSCEV->getType());
   return SE.isAvailableAtLoopEntry(BoundSCEV, L) &&