[clang] [llvm] [RISCV] Added the MIPS prefetch extensions for MIPS RV64 P8700. (PR #145647)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 26 21:57:29 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 offset must be in the range[0-511]");
----------------
ukalappa-mips wrote:
Sure
https://github.com/llvm/llvm-project/pull/145647
More information about the llvm-commits
mailing list