<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/113782>113782</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AMDGPU] No available SGPR for SGPR argument spilling
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:AMDGPU
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
shiltian
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
shiltian
</td>
</tr>
</table>
<pre>
If there are enough number of SGPR arguments, they will be spilled into VGPRs. However, we don’t reserve one SGPR to handle `exec` for the spilling.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkcGO0zAQhp_GuYw2ciZJWx98KJQWDqBqEdzH8TQxuHZlOy379ii7AcTJkjXz__q-oZzdGJi16N8JxDw5XxwFgSj6Q0VzmWLSf34rE-2L_nSBMnFioMTAIc7jBGG-Gk4QL_D1dH4GSuN85VCywPfL8As8nPdgGPLNec8WXCgRvp_Oz7mGj_HBd07L7IPBxiA-oNhJoVSBxJnTnSEGfosuESYK1jOIjeRfPIiNhEtMS81bugtjXVndWtUqqlg3W1RK9d1GVpOW3bDDljqWciBlbbsxTdddlKHe9txg5TRK7BqJW4nNtpM1ybalLXKnuKdmINFJvpLztff3ax3TWLmcZ9ZN0253WHky7POq09Dwk4MV7X7_-XA6f1u1Jr3sPpl5zKKT3uWS_6UVV_zrOdaV_gBfItCdnCfjVwsL8H-m_6JXc_J6KuWWRbsXeBR4HF2ZZlMP8SrwuPSsz9MtxR88FIHHV4Qs8LhS3DX-DgAA__9pQKxD">