Skip to content

Commit e2944b5

Browse files
committed
[RISCV] Rename InvalidRegClassGPRX0->InvalidRegClassGPRNoX0. NFC
1 parent 9b6fbc0 commit e2944b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVRegisterInfo.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def GPRX5 : GPRRegisterClass<(add X5)> {
257257
}
258258

259259
def GPRNoX0 : GPRRegisterClass<(sub GPR, X0)> {
260-
let DiagnosticType = "InvalidRegClassGPRX0";
260+
let DiagnosticType = "InvalidRegClassGPRNoX0";
261261
let DiagnosticString = "register must be a GPR excluding zero (x0)";
262262
}
263263

0 commit comments

Comments
 (0)