[PATCH] D138809: [RISCV] Support vector crypto extension LLVM IR

Brandon Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 01:51:51 PDT 2023


4vtomat added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.td:240
 
-def uimm6 : Operand<XLenVT> {
+def uimm6 : Operand<XLenVT>, ImmLeaf<XLenVT, [{return isInt<6>(Imm);}]> {
   let ParserMatchClass = UImmAsmOperand<6>;
----------------
zixuan-wu wrote:
> Should it be  `[{return isUInt<6>(Imm);}]`? @4vtomat 
Yeah, you are right, let me have a patch to fix it, thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138809



More information about the llvm-commits mailing list