Fix V_CMP_CLASS_F32 (#1153)

This commit is contained in:
dbz400 2024-09-30 16:36:26 +08:00 committed by GitHub
parent 289d692b98
commit 98ff32d0b8

View file

@ -909,6 +909,8 @@ void Translator::V_CMP_CLASS_F32(const GcnInst& inst) {
switch (inst.dst[1].field) {
case OperandField::VccLo:
return ir.SetVcc(value);
case OperandField::ScalarGPR:
return ir.SetThreadBitScalarReg(IR::ScalarReg(inst.dst[1].code), value);
default:
UNREACHABLE();
}