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

    <tr>
        <th>Summary</th>
        <td>
            Crash on array new with initializer when the size of the array is bigger thasn UINT_MAX
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:codegen,
            crash-on-valid
      </td>
    </tr>

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

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

<pre>
    
```cpp
int* i = new int[4294967295]{0}; // Ok
int* j = new int[4294967296]{0}; // Crash
```

https://godbolt.org/z/sj5oqPhn1
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0kE-P2yAQxT_N-IISsYMxyYFDspalHvrn0Eq9VWBPbFICKeCNNp--srNS1VUrIf48zWPm_UzObgxEGuQRZFuZuUwx6T4mEYoLlY3DqwbeAj9Awx-rv14figsF8MAcA9GyQDe2CPJY477eNwr3EmQL6shBtSCODLAD7Njnn3-5z_9zN_90PyeTp3cDvT3XfSrlmkEcHuVjHGz0ZRvTCNjdAbt8lvHXlyk8VYMWw17sTUX6qdntcKd2qKpJcyss1WSFELxWZI3gUnEytVTDiVtbOY0cBVcc-U5yVFvZKK7UCZU1pu_lE9ScLsb5rfcvl6V35XKeSTeiEaryxpLPK3DE3pswgjj0caCRAiACPi_6EnMTw-bFeDcssmyrpJcPN3YeM9Tcu1zynxbFFU96xcNiYCYl87pivbkyMRdccca7OyV2myiwMhHL7k4sntb7o95lZt04UmJlMjmwbx8-ff3x8fC9mpPX79C6Ms1228cLYLdM8XZsrimeqS-A3Zo6A3Zr8N8BAAD__wRluIA">