forked from OSchip/llvm-project
Fix unused variable warning on EXPENSIVE_CHECKS release builds. NFCI.
llvm-svn: 307929
This commit is contained in:
parent
68266faa31
commit
f32f4be957
|
@ -762,7 +762,7 @@ bool llvm::UnrollRuntimeLoopRemainder(Loop *L, unsigned Count,
|
|||
cast<BasicBlock>(VMap[Phi->getIncomingBlock(i)]));
|
||||
}
|
||||
}
|
||||
#ifdef EXPENSIVE_CHECKS
|
||||
#if defined(EXPENSIVE_CHECKS) && !defined(NDEBUG)
|
||||
for (BasicBlock *SuccBB : successors(BB)) {
|
||||
assert(!(any_of(OtherExits,
|
||||
[SuccBB](BasicBlock *EB) { return EB == SuccBB; }) ||
|
||||
|
|
Loading…
Reference in New Issue