When considering whether to inline Callee into Caller,
authorDale Johannesen <dalej@apple.com>
Fri, 9 Oct 2009 00:11:32 +0000 (00:11 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 9 Oct 2009 00:11:32 +0000 (00:11 +0000)
commite91b9a3b59688023e20cee8441179300b87c844e
treefbc872069fb17e6e453ee94d1e307224bcd74835
parent3645b01002e7ac244c1f3d163e5e350df21d869d
When considering whether to inline Callee into Caller,
and that will make Caller too big to inline, see if it
might be better to inline Caller into its callers instead.
This situation is described in PR 2973, although I haven't
tried the specific case in SPASS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83602 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/Inliner.cpp
test/Transforms/Inline/nested-inline.ll [new file with mode: 0644]