You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (const MachineOperand &Operand : MI.operands())
2400
2400
if (Operand.isReg()) {
2401
2401
auto &RegClass = *TRI.getRegClassForOperandReg(MRI, Operand);
2402
-
if (TRI.hasVGPRs(&RegClass))
2402
+
if (TRI.hasVGPRs(&RegClass)) {
2403
2403
VGPR_used = true;
2404
-
if (TRI.hasAGPRs(&RegClass) || TRI.getRegSizeInBits(RegClass) > 128) // > 128 bit registers are usually only used by MFMA instructions, so we're using that as a heuristic to guess the schedule group mask of the inline asm.
2404
+
if (Operand.isUse() && TRI.getRegSizeInBits(RegClass) == 32)
2405
+
VReg32_used = false;
2406
+
}
2407
+
// >= 128 bit registers are usually only used by MFMA instructions, so
2408
+
// we're using that as a heuristic to guess the schedule group mask of
2409
+
// the inline asm.
2410
+
if (TRI.hasAGPRs(&RegClass) || TRI.getRegSizeInBits(RegClass) >= 128)
0 commit comments