diff --git a/src/amd/compiler/aco_register_allocation.cpp b/src/amd/compiler/aco_register_allocation.cpp index 9600b92b121..75b06865959 100644 --- a/src/amd/compiler/aco_register_allocation.cpp +++ b/src/amd/compiler/aco_register_allocation.cpp @@ -2091,6 +2091,7 @@ operand_can_use_reg(amd_gfx_level gfx_level, aco_ptr& instr, unsign gfx_level >= GFX10); /* sdata can be vcc */ case Format::MUBUF: case Format::MTBUF: return idx != 2 || gfx_level < GFX12 || reg != scc; + case Format::SOPK: return idx != 0 || reg != scc; default: // TODO: there are more instructions with restrictions on registers return true;