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

    <tr>
        <th>Summary</th>
        <td>
            [AMDGPU] Invalid integer comparison assertion hit
        </td>
    </tr>

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

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

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

<pre>
    The following code hits an assertion, this case only appeared when I compiled with remarks enabled for some reason. https://godbolt.org/z/6v5s7aPs7. Without assertions it will successfully build.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckc-K3DAMh5_GuYgNifKvOfiw7ZCyh8IeWnp2EiXW1rEHy5lh-vQlYWHLnowlJH18PyPCqyfSqvmqmktm9mRD1G92Hym22Rjmh_5pCZbgXLizX2EKM4HlJGA8GBGKiYNX-A2SZYHJCEHw7gHmeiUTaYa7JQ8vMIXtyu74c7IQaTPxjwB5Mx7FJUSQsBFEMhJ8Djalq6jqWeGgcFjDPAaX8hBXhcNfhUN7a6Qzr9Ll8JuTDXv6oBHgBHd2DmSfJhJZduceMO7s5jybdTX3VW8y0mWHXV_UbYeZ1aZfKlPX1VTWyzQSFZPp5i99t2Df1lgVGWsssC6LArGsyhLztq1oaQzR2GBTY6fqgjbDLnfuth2sGYvspMuy6Ksic2YkJ6dqRE93OLsK8TAf9TH0NO6rqLpwLEk-1iRO7szo-cfl--sv1Vzgxd-M4xnYJ1opnnpNZAn_pXLklO3R6U8yOdl9zKewKRyOG-_P0zWGN5qSwuEkE4XDO_pN478AAAD__y6euFo">