[PATCHES] A module inliner pass with a greedy call site queue

Chandler Carruth chandlerc at google.com
Wed Aug 6 01:46:27 PDT 2014


On Wed, Aug 6, 2014 at 1:11 AM, James Molloy <james at jamesmolloy.co.uk>
wrote:

> Hi Nick,
>
> I'm not an expert on inlining algorithms so please excuse my naivite. But
> usually these "top-down versus bottom-up" arguments (in other domains, at
> least), come to the obvious conclusion that both have merits so let's
> create a hybrid. Why is this not the case here too?
>

FYI, the current inliner *is* a hybrid. It does deferred top-down inlining
when it can do so safely during its bottom-up walk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140806/974a67b5/attachment.html>


More information about the llvm-commits mailing list