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

    <tr>
        <th>Summary</th>
        <td>
            [llvm][CodGen]How to reduce the generation of temporary variable names and alloca in IR in llvm18.
        </td>
    </tr>

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

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

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

<pre>
    There are very few alloca variables in the stack in llvm11, but there are many temporary variables and alloca statements in llvm18, where is this processing or how can I avoid this behavior in llvm18
![Image](https://github.com/user-attachments/assets/0bca2d31-d64f-4667-b653-337b1ef89b09)

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kkuOnDAQhk9jNiVadvFoWLCYhzrpbZQLlKEAJ8Zu2YZW3z6CmWQmUpSVH2V_qt-fKUYzOeZOVM-ies1oTbMP3Wxut4e1CotM--HRfZ85MFBg2Dg8YOQ7kLW-J9goGNKWIxgHaWaIifqf-8LabVFK4AvoNe2ld8JC7gGJl5sPFB6fAOSG39SYKPHCLsU_pGYn3Q-KiZBmE-EWfM8xGjeBDzD7O_Tk4Aq0eTO8HdE802Z8-ISRTwKVqJ6vC00sqleBzZzSLYriSeBF4GUyaV71qfeLwMsaOeSUEvXz0Y_AC8XIx0TqnnAoVD7U5ZiXdX3OdV0VeVGcteKxabVsBbZCPmVDVwxt0VLGnToX2NQ11pjNXVv0g5R8pnZsm1KOVDI2TD0ilkoXbWY6lFgqha08lyXiqVU1qrGsKsm1HiotSskLGXva4518mDIT48qdUo2sMbOk2cZDL6LjOxxVgbjbDt1-KdfrFEUprYkpfmCSSfb4F_vO_k7V84sfvrAT1etXf4fkIfCw9nxon9hxoGS8Az_-Qy84Wv52bBxcv314OWVrsN1_TBxtvA35Lfgf3CeBlyPOLuM979bhrwAAAP__FlHsIA">