Initial stab at getting inlining working with the EH rewrite.
authorBill Wendling <isanbard@gmail.com>
Thu, 28 Jul 2011 00:38:23 +0000 (00:38 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 28 Jul 2011 00:38:23 +0000 (00:38 +0000)
commit2bf84c15d24bb373987d9dbc6308092eac1b8324
treeb8688fe9f6d418bda794ba69c70cee7f8ef28d7b
parent8050a619145f30cdfee9c6ae1c5bdb1a32a4a71e
Initial stab at getting inlining working with the EH rewrite.

This takes the new 'resume' instruction and turns it into a direct jump to the
caller's landing pad code. The caller's landingpad instruction is merged with
the landingpad instructions of the callee. This is a bit rough and makes some
assumptions in how the code works. But it passes a simple test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136313 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp