ctx.info[instr->operands[2].tempId()].set_vcc_hint();
break;
+ case aco_opcode::v_addc_co_u32: ctx.info[instr->operands[2].tempId()].set_vcc_hint(); break;
case aco_opcode::v_cmp_lg_u32:
if (instr->format == Format::VOPC && /* don't optimize VOP3 / SDWA / DPP */
instr->operands[0].constantEquals(0) && instr->operands[1].isTemp() &&
instr->opcode != aco_opcode::v_fma_mixlo_f16)
return combine_vop3p(ctx, instr);
- if (ctx.info[instr->definitions[0].tempId()].is_vcc_hint()) {
- instr->definitions[0].setHint(vcc);
+ for (Definition& def : instr->definitions) {
+ if (ctx.info[def.tempId()].is_vcc_hint())
+ def.setHint(vcc);
}
if (instr->isSDWA() || instr->isDPP())