[PATCH] D146663: [RISCV] Add .insn support compressed formats.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 14:52:53 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:1569
+
+  Error(S, "opcode must be in the range [0, 2]");
+  return MatchOperand_ParseFail;
----------------
jrtc27 wrote:
> This is a slightly weird error to give in this case... then again so is the non-C equivalent by the looks of it
Why is it weird?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146663/new/

https://reviews.llvm.org/D146663



More information about the llvm-commits mailing list