[WinEH] Don't skip landing pads that end with an unreachable instruction.
authorAndrew Kaylor <andrew.kaylor@intel.com>
Thu, 23 Apr 2015 00:20:44 +0000 (00:20 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Thu, 23 Apr 2015 00:20:44 +0000 (00:20 +0000)
commita1df0a312001ac1a9951c8925d7639442304a6e1
tree80e48256cf3a7b1b436c815acec4fc57734adcff
parent395f4f4b2a3db77755fb0a08669b268e74f458c1
[WinEH] Don't skip landing pads that end with an unreachable instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235563 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/WinEH/cppeh-prepared-catch-reordered.ll
test/CodeGen/WinEH/cppeh-prepared-catch.ll