[PATCH] D128495: [RISCV][MC] Fold UIMM related code and add the missing isUImm functions

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 23:09:20 PDT 2022


craig.topper added a comment.

If isUImm4() isn't used by the assembly parser than it's not missing it?



================
Comment at: llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:570
+
+  ISUIMM(2)
+  ISUIMM(3)
----------------
Why not use a template function?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128495



More information about the llvm-commits mailing list