diff options
Diffstat (limited to 'llvm/lib/Analysis/LoopInfo.cpp')
-rw-r--r-- | llvm/lib/Analysis/LoopInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp index c200f9f..ec3fed5 100644 --- a/llvm/lib/Analysis/LoopInfo.cpp +++ b/llvm/lib/Analysis/LoopInfo.cpp @@ -699,12 +699,14 @@ void LoopInfoWrapperPass::verifyAnalysis() const { } // Verify that blocks are mapped to valid loops. +#ifndef NDEBUG for (auto &Entry : LI.LI.BBMap) { BasicBlock *BB = Entry.first; Loop *L = Entry.second; assert(Loops.count(L) && "orphaned loop"); assert(L->contains(BB) && "orphaned block"); } +#endif } void LoopInfoWrapperPass::getAnalysisUsage(AnalysisUsage &AU) const { |