Skip to content
Commit 520df846 authored by Chris Lattner's avatar Chris Lattner
Browse files

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.

llvm-svn: 14635
parent 987e503e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment