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

    <tr>
        <th>Summary</th>
        <td>
            llvm/include/llvm/ADT/DenseMap.h:1105:8: warning: stack usage is 279392 bytes [-Wstack-usage=]
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            code-quality,
            llvm:adt
      </td>
    </tr>

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

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

<pre>
    I just tried a clang build with -Wstack-usage switched on.

The winner for the most stack usage is the following code:

  void grow(unsigned AtLeast) {

Would there be any value in reducing the stack usage of this function
downto about 64K, the next highest stack usage function ?

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckkFvpDgQhX9NcSl1C8q4aQ4cSFpIq929RcrZ4AKccdsZbDfT_34EnVEyuSD05Pfqc_mpEMzkmBuQTyAvmUpx9kujh14UZdZ7fW_-wbcUIsbFsEaFg1Vuwj4Zq3E1ccbDa4hq-HFIQU2MYTVxmFmjd0fIL5C3j-_LzLga53jB0S8YZ8arDxF3Lz68Juz66K31q3ETDl4ziPZrDuLNG43T4legc3I7vsY2_scqRKAaoXr6anj1yeotd2HsGZW7403ZxGgcLqzTsA3axn4l8SPG2QQckxui8e4Rpf3qokfV-xTxVP4L9Lw7Hf-KOJtp5m8X-mNHEN0jItON0LWoVcZNURHJkiinbG40q2EchS7rou6rQepclPJ8IjpXo-xzkZmGcirzc14UtTyVdKzGvKwkn091UclCFFDmfFXGHq29XY9-mTITQuKmyAspKbOqZxv2dybaFnv4mZQ18Q5EQM9AtPlAtErHTZKXbGk26dCnKUCZWxNi-AyPJlreDwB1xg02aQbqPoT28gLUXdgF_l-9H2cQbVHkEkR7BtHiqhZn3LT9fisAVbWoCft75IAgn_5qF4jLxpUW28wxvoetG9QBdZOJc-qPg79-Iuzs74t_4yFuiNsyAlD3sY9bQ78DAAD__2LC8zc">