<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/62435>62435</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Stack size as input to the inliner heuristics and offer controls to users
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          vii
      </td>
    </tr>
</table>

<pre>
    We need to add stack size as input to the inliner heuristics and offer controls to users.

Profile directed optimizations can radically change stack frame size otherwise.

Request from ZetaSQL, and related to similar requests from Linux Kernel folks. Creating this issue as requested on email thread.

cc @ilovepi @nickdesaulniers 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyskr9u3DwQxJ-GahY-UDzdHxUq_Nm45nORxEWAdCtyddqYIi_clR376QPpDgjcpyEJcHb4G2JQhM-JqDO7_8zuscJZx1y6V-aqz-G9-06QiAJoBgwBRNG_gPAHAQpwusy6XOlIwClyogIjzYVF2QtgCpCHgQr4nLTkKIt4FiqyMfbR2Pvr-qXkgSNB4EJeKUC-KE_8gco5CXhMUDCwxxjfwY-YznQjGQpOdOXJOlJ5Y6FP1t_o10yiMJQ8wQ9SfP76ZNzDilYool6zCU8csUC5yuWqf-I0_4b_qSSKMOT4Iht4KITK6Qw6sgCLzOtX3AYX9gQ0IUfQsRCGTzTeg2ksx_xKF16Oif1LIME5JqYiUIVuG9ptixV19f7oDrY-NG01dsehxib43TDQdt_3_RHrUNe29gfb7ENLFXfOuq1t3LE-2Na2m3Yf0Nu6JiLsj86Zxq5cmxhfp00u52qF7_au2e6qiD1FWVvgXKK3azLj3FKK0i0zd_18FtPYyKLy10VZI3XP_6oY1VxiN6pexGzvjTsZdzqzjnO_8Xky7rS8e9vuLiX_JK_GnVZaMe60pvkTAAD__-6V9rQ">