[PATCH] D126317: [RISCV] Add an operand kind to the opcode/imm returned from RISCVMatInt.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 14:32:15 PDT 2022


craig.topper updated this revision to Diff 431799.
craig.topper added a comment.

Add a method to convert opcode to operand kind. All opcodes listed with an
unreachable default to make sure it always gets updated if new opcodes are used.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126317

Files:
  llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.h
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126317.431799.patch
Type: text/x-patch
Size: 6072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220524/c7475d05/attachment.bin>


More information about the llvm-commits mailing list