[llvm-dev] LTO and Inlining and Stack Frame Size

Teresa Johnson via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 28 17:46:33 PST 2018


This is probably better controlled in the inliner, and there are internal
options there already for controlling various size thresholds. LTO doesn't
directly control inlining directly, it just provides a bigger
scope. +Easwaran who works on the inliner and might be able to point you in
the right direction.

Teresa

On Wed, Nov 28, 2018 at 11:40 AM Bill Wendling via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Inlining is more aggressive with LTO. This could lead to stack frame sizes
> growing. However, sometimes you're working with software that is sensitive
> to stack sizes and would like to keep things within a certain limit (say
> 8K). Is there a way to achieve this with clang's LTO (or indeed its inliner
> in general)?
>
> -bw
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>


-- 
Teresa Johnson |  Software Engineer |  tejohnson at google.com |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181128/e6910520/attachment.html>


More information about the llvm-dev mailing list