Split the landing pad basic block with the correct function. Also merge the
authorBill Wendling <isanbard@gmail.com>
Tue, 27 Sep 2011 00:59:31 +0000 (00:59 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 27 Sep 2011 00:59:31 +0000 (00:59 +0000)
commitd5520987d146487733e2453c8f0cf6ddd0f6ceba
tree1e8a88f94f34c04e485dabf72f9408a6869cb64f
parent80ef1b287fa1b62ad3de8a7c3658ff37b5acca8e
Split the landing pad basic block with the correct function. Also merge the
split landingpad instructions into a PHI node.
PR11016

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140592 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnswitch.cpp
test/Transforms/LoopUnswitch/2011-09-26-EHCrash.ll [new file with mode: 0644]