llvm-6502/test/Transforms/Inline
John McCall a3de16bc8f Fix the inliner to maintain the current de facto invoke semantics:
- the selector for the landing pad must provide all available information
    about the handlers, filters, and cleanups within that landing pad
  - calls to _Unwind_Resume must be converted to branches to the enclosing
    lpad so as to avoid re-entering the unwinder when the lpad claimed it
    was going to handle the exception in some way
This is quite specific to libUnwind-based unwinding.  In an effort to not
interfere too badly with other unwinders, and with existing hacks in frontends,
this only triggers on _Unwind_Resume (not _Unwind_Resume_or_Rethrow) and does
nothing with selectors if it cannot find a selector call for either lpad.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132200 91177308-0d34-0410-b5e6-96231b3b80d8
2011-05-27 18:34:38 +00:00
..
2003-09-14-InlineValue.ll
2003-09-22-PHINodeInlineFail.ll
2003-09-22-PHINodesInExceptionDest.ll
2003-09-22-PHINodesInNormalInvokeDest.ll
2003-10-13-AllocaDominanceProblem.ll
2003-10-26-InlineInvokeExceptionDestPhi.ll
2004-04-15-InlineDeletesCall.ll
2004-04-20-InlineLinkOnce.ll
2004-10-17-InlineFunctionWithoutReturn.ll
2006-01-14-CallGraphUpdate.ll
2006-07-12-InlinePruneCGUpdate.ll
2006-11-09-InlineCGUpdate-2.ll
2006-11-09-InlineCGUpdate.ll
2007-04-15-InlineEH.ll
2007-06-06-NoInline.ll
2007-06-25-WeakInline.ll
2007-12-19-InlineNoUnwind.ll
2008-03-04-StructRet.ll
2008-03-07-Inline-2.ll
2008-03-07-Inline.ll
2008-09-02-AlwaysInline.ll
2008-09-02-NoInline.ll
2008-10-30-AlwaysInline.ll
2008-11-04-AlwaysInline.ll
2009-01-08-NoInlineDynamicAlloca.ll
2009-01-13-RecursiveInlineCrash.ll
2009-05-07-CallUsingSelfCrash.ll
2010-05-12-ValueMap.ll
2010-05-31-ByvalTailcall.ll
alloca_test.ll
alloca-in-scc.ll
always_inline_dyn_alloca.ll
array_merge.ll
basictest.ll
byval.ll
callgraph-update.ll
casts.ll
cfg_preserve_test.ll
crash2.ll
crash.ll
delete-call.ll
devirtualize-2.ll
devirtualize-3.ll
devirtualize.ll
dg.exp
dynamic_alloca_test.ll
externally_available.ll
gvn-inline-iteration.ll
inline_cleanup.ll
inline_constprop.ll
inline_dce.ll
inline_invoke.ll Fix the inliner to maintain the current de facto invoke semantics: 2011-05-27 18:34:38 +00:00
inline_prune.ll
inline-invoke-tail.ll
inline-tail.ll
invoke_test-1.ll
invoke_test-2.ll
invoke_test-3.ll
lifetime.ll
nested-inline.ll
noinline-recursive-fn.ll
noinline.ll
PR4909.ll