diff --git a/src/amd/compiler/aco_register_allocation.cpp b/src/amd/compiler/aco_register_allocation.cpp index bcb70eeab48..2ed68fd1e61 100644 --- a/src/amd/compiler/aco_register_allocation.cpp +++ b/src/amd/compiler/aco_register_allocation.cpp @@ -510,12 +510,12 @@ add_subdword_operand(ra_ctx& ctx, aco_ptr& instr, unsigned idx, uns if (instr->isVALU()) { /* check if we can use opsel */ if (instr->format == Format::VOP3) { - assert(rc == v2b && byte == 2); + assert(byte == 2); instr->vop3().opsel |= 1 << idx; return; } if (instr->isVOP3P()) { - assert(rc == v2b && byte == 2 && !(instr->vop3p().opsel_lo & (1 << idx))); + assert(byte == 2 && !(instr->vop3p().opsel_lo & (1 << idx))); instr->vop3p().opsel_lo |= 1 << idx; instr->vop3p().opsel_hi |= 1 << idx; return;