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

    <tr>
        <th>Summary</th>
        <td>
            i1 arguments do not work with amdgpu_cs
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:AMDGPU
      </td>
    </tr>

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

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

<pre>
    ```
; RUN: llc -march=amdgcn -mcpu=gfx900 < %s
define amdgpu_cs void @main(i1 %i83) {
bb:
  ret void
}

```

LLVM ERROR: unable to allocate function argument #0

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckUGP2yAQhX_N-DJKhGfi2D5wSJqml922irS9VoCxTRdDZPBu--8rJ1FXqoSGObz39MFTKbkhWCuhOkJ1KtSSxzhLNScbpkLH7o-EvXgccQJxAD7i5eUr8AG9N7iZ1GxG4JOausEE3EzmugCfhv53KwQCf0KgKt29ne1dsLhKr8tPk_Atug5hJyblAlDjylXsGgZqEerj3aU18OG-Is4231wPmPr0WO7zP9TbfHr68YyfL5dvl5V5CUp7izmi8j4alS32SzDZxYBqHpbJhoxA_IgoOsldy60qrCz37Z6prYmLUe64NLquuKnanhtdcs-qrFSne9ZUq6pwkgRxKQSXYkeCt7VtWJhSm6o3VFYEO2En5fzW-7dpG-ehcCktVu4b0dSFV9r6dKuFSCvzakMHfDg8n758fwGitaxZrtaNXoYEO-FdyukjLLvsrXTlv1cl7CKGmPE9zq_47vL4UUSxzF6OOV_T-tV0BjoPLo-L3po4AZ3X1Me1uc7xlzUZ6HzjTUDnG_LfAAAA__8bl66A">