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

    <tr>
        <th>Summary</th>
        <td>
            Backport [ConstraintElim] fix crash with large constants in mul nsw
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            release:backport,
            llvm:optimizations,
            crash-on-valid
      </td>
    </tr>

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

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

<pre>
    /cherry-pick 66ec5df3a7f33366455d50769e4e878544becea6 df112cba034eefb86d0e92e18518f5e944d58c37

This change is simple and fixes a crash on valid IR (which we hit with real world Rust code).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxEkMFu2zAMhp9GvhAJZMqS7YMPabMAuxZ7AVmiYzayFUhys-7ph7jFdiEBkj_4_5_Nma8r0SD0i9Dnym5ljmmgxDdP-d0mz2uuxug_B4EXN1NKn4c7uxsYQ077Sdl2UkoZ02jttWxNTw11baebZiRH1oCf6hrdaKVqiKaxM15Sj1R3uu4mTX3TeN051Qp5FvL0VX_NnMHNdr0ScIbMyz0Q2NXDxL8pgwWXbJ4hrvBhA3v4-QYCu8fMboYHwcwFHlxmSGQDPGIKHt62XMBFTwL7Y-UH5XvV24qG2vRKGqVQV_Ogu15NbWuwI1VTq5W2TVMbkrWXSIoqHlCikh2aWiNKfexH72Tv6s60ypPsRCNpsRyOIXwsx5iuFee80WC0rFUV7Egh77gREwWymYQ6jdbd7jEVgSjwVSA-xUKd4r3wwn9s4bjmf8s9_CGuhz38c6zPVRqemsO4XbNoZOBc8n8LhUug4eX7Cwj98hrXXJLltfwIvAh9fqL9xrqjCzZdCdzzzK4lA6-wbAHW_Ki2FIa5lHsW6iTwIvBy5TJv49HFReBl9_7VDvcU38kVgZedQhZ42UH8DQAA___luMkR">