Resubmit with fix. Properly remove the instructions except for landingpad, which...
authorBill Wendling <isanbard@gmail.com>
Thu, 1 Sep 2011 01:28:11 +0000 (01:28 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 1 Sep 2011 01:28:11 +0000 (01:28 +0000)
commita8d1393093d67091d47fa87a4ce86c0adcead6a0
tree7efa780abcce26cb80fb1fec8d6829336a814b00
parentc1b4cd6c11f58f3b49d09bf30acc165cb0d9a33b
Resubmit with fix. Properly remove the instructions except for landingpad, which should be removed only when its invokes are.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138932 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstructionCombining.cpp