commit | 7f0566c1233ba4378c2c5531ddbc9eb8ad1868da | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Jul 06 06:36:11 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Jul 06 06:36:11 2004 +0000 |
tree | bb8bebb5ae1a8876287c714d0638fb4804a6cdc0 | |
parent | ba466362c4b82a0a52bb5d877c439b759d86eee0 [diff] |
Fix a bug in the unreachable block elim pass. Dropping all references on a basic block clear()'s all of the operands lists, including phis. This caused removePredecessor to get confused later. Because of this, we just nuke (without prejudice) PHI nodes in unreachable blocks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14635 91177308-0d34-0410-b5e6-96231b3b80d8