Do not mark instructions in unreachable sections of the function as live.
authorChris Lattner <sabre@nondot.org>
Tue, 4 May 2004 17:00:46 +0000 (17:00 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 4 May 2004 17:00:46 +0000 (17:00 +0000)
commitb9110c61fb16354c659703870340c020b7c5b10a
treeb9cb86be5af13ca8b99461be4b7bbcf0ead419b3
parentb71ebdf03c096ec05b9c963f876ebc262ef25278
Do not mark instructions in unreachable sections of the function as live.
This fixes PR332 and ADCE/2004-05-04-UnreachableBlock.llx

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13349 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ADCE.cpp