commit | 99c91e021a41150ac55edf91d1339b5c58a122dc | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Jun 24 21:49:45 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Jun 24 21:49:45 2003 +0000 |
tree | fd9e07d433b0ea569103857830d0884427a7c89e | |
parent | e4b79d3324332cb1b9ffc988ae1e97c3a4e9c939 [diff] |
Do not mark ALL terminators live if any instruciton in the block is live. We only want to mark it live if it is an unconditional branch. This fixes bug: ADCE/2002-05-28-Crash.ll and makes this pass _much_ more useful. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6887 91177308-0d34-0410-b5e6-96231b3b80d8