Fix V_CMP_CLASS_F32 (#1153)

This commit is contained in:
dbz400 2024-09-30 16:36:26 +08:00 committed by GitHub
parent 398019867b
commit c7ff0419ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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();
}