diff options
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUnroll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUnroll.cpp b/llvm/lib/Transforms/Utils/LoopUnroll.cpp index baeaab17c11..f7e5c0c49f8 100644 --- a/llvm/lib/Transforms/Utils/LoopUnroll.cpp +++ b/llvm/lib/Transforms/Utils/LoopUnroll.cpp @@ -602,7 +602,7 @@ bool llvm::UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, bool Force, // updating domtree after partial loop unrolling should also be easy. if (DT && !CompletelyUnroll) DT->recalculate(*L->getHeader()->getParent()); - else + else if (DT) DEBUG(DT->verifyDomTree()); // Simplify any new induction variables in the partially unrolled loop. |