<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Aggressive inlining on moving from clang 9 to clang 11"
   href="https://bugs.llvm.org/show_bug.cgi?id=47886">47886</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Aggressive inlining on moving from clang 9 to clang 11
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>11.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Common Code Generator Code
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jeffr@radgametools.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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).</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>