diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index bed7608b11e..763111063d0 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -378,7 +378,6 @@ public: void verifyLoop() const { #ifndef NDEBUG assert(!Blocks.empty() && "Loop header is missing"); - assert(getHeader() && "Loop header is missing"); // Sort the blocks vector so that we can use binary search to do quick // lookups.