[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)
commit43e1d7627897c1efb45a61477f92b4298db7015b
treec8661cbba58574de2c9a58aeea06fc7d122ca80c
parent7d4bc9c0fb925df6dc812969cb9aa7aa2ec2fd35
[WinEH] Don't skip landing pads that end with an unreachable instruction.

llvm-svn: 235563
llvm/lib/CodeGen/WinEHPrepare.cpp
llvm/test/CodeGen/WinEH/cppeh-prepared-catch-reordered.ll
llvm/test/CodeGen/WinEH/cppeh-prepared-catch.ll