We already have a heuristic that unwind edges are infrequently taken, but
it sounds like the inliner isn't taking this into account. Maybe the new
pass manager can fix this, given that it's supposed to enable access to
branch profiles.
On Thu, Nov 6, 2014 at 1:58 PM, Vadim Chugunov <vadimcn at gmail.com>
wrote:
> Hi,
> I am seeing that LLVM optimizer often inlines functions called from
> landing pads.
> - Is this expected? I thought that landing pads were always considered
> to be on the "cold" path...
> - Is there any way to discourage inlining in landing pads and optimize
> them for size?
>
> thanks!
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20141106/d1b92836/attachment.html>