mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
[NFC] Add missing const modifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user