Add support to ADCE for pruning unreachable blocks. This addresses the final
authorOwen Anderson <resistor@mac.com>
Wed, 2 Jul 2008 18:05:19 +0000 (18:05 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 2 Jul 2008 18:05:19 +0000 (18:05 +0000)
commit77d76b7ef7fba0cf694977ef5abbdea28e600833
treea9bc14798801e9b2a54dd900b741c3def54df387
parent6ed2d1ecdbac0fe9c34cfc6ab5c985dc0c71a1d7
Add support to ADCE for pruning unreachable blocks.  This addresses the final
part of PR2509.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53038 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ADCE.cpp
test/Transforms/ADCE/2008-07-02-Unreachable.ll [new file with mode: 0644]