forked from OSchip/llvm-project
[LoopUtils] Only verify SE in builds with assertions.
Follow up to 60b852092c
.
This commit is contained in:
parent
a59be54e61
commit
7bae2bc5a8
|
@ -725,8 +725,10 @@ void llvm::deleteDeadLoop(Loop *L, DominatorTree *DT, ScalarEvolution *SE,
|
|||
LI->destroy(L);
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
if (SE)
|
||||
SE->verify();
|
||||
#endif
|
||||
}
|
||||
|
||||
/// Checks if \p L has single exit through latch block except possibly
|
||||
|
|
Loading…
Reference in New Issue