[llvm-bugs] [Bug 47886] New: Aggressive inlining on moving from clang 9 to clang 11
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 16 14:57:41 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47886
Bug ID: 47886
Summary: Aggressive inlining on moving from clang 9 to clang 11
Product: libraries
Version: 11.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
Assignee: unassignedbugs at nondot.org
Reporter: jeffr at radgametools.com
CC: llvm-bugs at lists.llvm.org
We're moving a lot of targets over to the new clang, and the inliner is
massively more aggressive now. In general, we're seeing a 15% size increase
(x86, x64, arm and arm64).
The choices seem to be kind of nuts - large functions (well over 1K) that are
used 8 times in a single obj get inlined all 8 times.
Is there any fine grained control over this besides turning everything off and
then adding manual inline overrides? Are there any docs on the new decisions?
In addition to the size increase, this impacts our performance too (which we
keep close tabs on).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201016/aca56c2c/attachment.html>
More information about the llvm-bugs
mailing list