diff options
author | Max Kazantsev <max.kazantsev@azul.com> | 2018-08-16 06:28:04 +0000 |
---|---|---|
committer | Max Kazantsev <max.kazantsev@azul.com> | 2018-08-16 06:28:04 +0000 |
commit | a7415874c92e10bf45582b00900489a9a412f8cc (patch) | |
tree | 5a88dc9cc6a7bf97182b257318e12e843a9bbb8a | |
parent | 0609d1e211dc4dda3e3f442ae1db0b695db1074c (diff) | |
download | bcm5719-llvm-a7415874c92e10bf45582b00900489a9a412f8cc.tar.gz bcm5719-llvm-a7415874c92e10bf45582b00900489a9a412f8cc.zip |
[NFC] Add missing const modifier
llvm-svn: 339844
-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(); |