commit | 2ef703ec429900c5b49d94d82332e7a216a2d7c4 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Mar 14 03:59:22 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Mar 14 03:59:22 2004 +0000 |
tree | 30c9d9351f676ee2588c4bb22cdc452d03641430 | |
parent | 59c3569b14433a3f2197e2c3933c21568c68102c [diff] |
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