Skip to content
Commit 33fca976 authored by Chris Lattner's avatar Chris Lattner
Browse files

* Fix bug: test/Regression/Transforms/ADCE/2002-07-17-AssertionFailure.ll

  which was caused by us not running the "drop references of dead
  instructions" code when there were no basic blocks that were dead.

  We still don't want to do some of the stuff we do if there are dead
  basic blocks, but we DO want to drop references of dead instructions,
  so we factor the common code out to a new method.

llvm-svn: 3137
parent 13e40b40
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