Skip to content

Commit d25cb5a

Browse files
committed
[AMDGPU] Fix misleading SDWA verifier error. NFC.
The old error from GFX9 shall be updated to GFX9+.
1 parent 1a8c9cd commit d25cb5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3695,7 +3695,8 @@ bool SIInstrInfo::verifyInstruction(const MachineInstr &MI,
36953695
} else {
36963696
// No immediates on GFX9
36973697
if (!MO.isReg()) {
3698-
ErrInfo = "Only reg allowed as operands in SDWA instructions on GFX9";
3698+
ErrInfo =
3699+
"Only reg allowed as operands in SDWA instructions on GFX9+";
36993700
return false;
37003701
}
37013702
}

0 commit comments

Comments
 (0)