[WinEH] Split the landingpad BB instead of cloning it
authorReid Kleckner <reid@kleckner.net>
Fri, 24 Apr 2015 16:22:19 +0000 (16:22 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 24 Apr 2015 16:22:19 +0000 (16:22 +0000)
commit8410b22f9175244eaddf0a6c6f978c8937184de4
treeacbbc867bc7fb5449b4f2047c021d8ae46e4b0c8
parentdafe3a524aa2aa23f0a0653c2c7754e4ce4ca97f
[WinEH] Split the landingpad BB instead of cloning it

This means we don't have to RAUW the landingpad instruction and
landingpad BB, which is a nice win.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235725 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/WinEH/cppeh-catch-all.ll
test/CodeGen/WinEH/cppeh-catch-scalar.ll
test/CodeGen/WinEH/cppeh-catch-unwind.ll
test/CodeGen/WinEH/cppeh-frame-vars.ll
test/CodeGen/WinEH/cppeh-min-unwind.ll
test/CodeGen/WinEH/cppeh-multi-catch.ll