If a block is dead, dominators will not be calculated for it. Because of this
authorChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2004 03:59:22 +0000 (03:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2004 03:59:22 +0000 (03:59 +0000)
commit2ef703ec429900c5b49d94d82332e7a216a2d7c4
tree30c9d9351f676ee2588c4bb22cdc452d03641430
parent59c3569b14433a3f2197e2c3933c21568c68102c
If a block is dead, dominators will not be calculated for it.  Because of this
loop information won't see it, and we could have unreachable blocks pointing to
the non-header node of blocks in a natural loop.  This isn't tidy, so have the
loopsimplify pass clean it up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12380 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopSimplify.cpp