llvm-6502/test/Transforms/Inline
Chris Lattner 159528702a The inliner has traditionally not considered call sites
that appear due to inlining a callee as candidates for
futher inlining, but a recent patch made it do this if
those call sites were indirect and became direct.

Unfortunately, in bizarre cases (see testcase) doing this
can cause us to infinitely inline mutually recursive
functions into callers not in the cycle.  Fix this by
keeping track of the inline history from which callsite
inline candidates got inlined from.

This shouldn't affect any "real world" code, but is required
for a follow on patch that is coming up next.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102822 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-01 01:05:10 +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
alloca_test.ll
alloca-in-scc.ll
always_inline_dyn_alloca.ll
array_merge.ll
basictest.ll
byval2.ll
byval.ll
callgraph-update.ll
casts.ll
cfg_preserve_test.ll
crash2.ll add a DEBUG call so that -debug lists when CGSCCPM iterates. 2010-04-22 20:42:33 +00:00
crash.ll testcase for the bug that required a patch to be reverted. 2010-04-23 18:31:01 +00:00
delete-call.ll
dg.exp
dynamic_alloca_test.ll
externally_available.ll add newlines at the end of files. 2010-04-07 22:53:17 +00:00
gvn-inline-iteration.ll Implement (but don't enable) PR6724 and rdar://6295824. In short, 2010-04-21 00:47:40 +00:00
indirect_resolve.ll no longer xfail 2010-04-23 22:39:33 +00:00
inline_cleanup.ll
inline_constprop.ll
inline_dce.ll
inline_prune.ll
inline-invoke-tail.ll
inline-tail.ll
invoke_test-1.ll
invoke_test-2.ll
invoke_test-3.ll
nested-inline.ll
noinline-recursive-fn.ll The inliner has traditionally not considered call sites 2010-05-01 01:05:10 +00:00
noinline.ll Reapply r99451 with a fix to move the NoInline check to the cost functions 2010-03-25 04:49:10 +00:00
PR4909.ll