[PATCH] D115224: [RISCV] Support named opcodes in .insn directive.

Nelson Chu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 9 00:39:15 PST 2021


Nelson1225 updated this revision to Diff 393059.
Nelson1225 edited the summary of this revision.
Nelson1225 added a comment.

- Re-based the patch since parts of the changes are separated to https://reviews.llvm.org/D115172.

- For llvm/test/MC/RISCV/insn-invalid.s, moved the new invalid test case forward, to leave the .insn_i test as a special case at the end of the file.

- For llvm/lib/Target/RISCV/RISCVInstrInfo.td, add a newline between "def InsnDirectiveOpcode" and "def uimm7_opcode".


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

https://reviews.llvm.org/D115224

Files:
  llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
  llvm/lib/Target/RISCV/RISCVInstrFormats.td
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/test/MC/RISCV/insn-invalid.s
  llvm/test/MC/RISCV/insn.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115224.393059.patch
Type: text/x-patch
Size: 18932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211209/9da104d5/attachment.bin>


More information about the llvm-commits mailing list