[clang] [llvm] [RISCV] Added the MIPS prefetch extensions for MIPS RV64 P8700. (PR #145647)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 26 05:13:42 PDT 2025
================
@@ -1523,6 +1524,10 @@ bool RISCVAsmParser::matchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
return generateImmOutOfRangeError(
Operands, ErrorInfo, 0, (1 << 8) - 8,
"immediate must be a multiple of 8 bytes in the range");
+ case Match_InvalidUImm9:
+ return generateImmOutOfRangeError(
+ Operands, ErrorInfo, 0, (1 << 9) - 1,
+ "immediate must be a multiple of 9 bytes in the range");
----------------
ukalappa-mips wrote:
Update the diagnostics
https://github.com/llvm/llvm-project/pull/145647
More information about the cfe-commits
mailing list