[clang] [llvm] [RISCV] Add Qualcomm uC Xqcibi (Branch Immediate) extension (PR #130779)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 18 00:38:31 PDT 2025


================
@@ -1671,6 +1707,8 @@ bool RISCVAsmParser::matchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
     return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 10) - 1);
   case Match_InvalidUImm11:
     return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 11) - 1);
+  case Match_InvalidUImm16NonZero:
+    return generateImmOutOfRangeError(Operands, ErrorInfo, 1, (1 << 15) - 1);
----------------
hchandel wrote:

Thanks for pointing this out. Corrected in the latest commit. 

https://github.com/llvm/llvm-project/pull/130779


More information about the llvm-commits mailing list