[PATCH] D108602: [RISCV] Initial support .insn directive for the assembler.
Zixuan Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 15 01:15:19 PDT 2021
zixuan-wu added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.td:156
+def uimm2 : Operand<XLenVT> {
+ let ParserMatchClass = UImmAsmOperand<2>;
----------------
zixuan-wu wrote:
> Does it forget to add UIMM2 and UIMM3 verification at verifyInstruction in RISCVInstrInfo.cpp?
And can also make uimm2/uimm3 be instance of ImmLeaf? Which make them reusable to be used in DAG pattern.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108602/new/
https://reviews.llvm.org/D108602
More information about the llvm-commits
mailing list