[PATCH] D52366: [tblgen][disasm] Separate encodings from instructions

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 21 10:24:48 PDT 2018


dsanders created this revision.
dsanders added reviewers: bogner, charukcs.

Separate the concept of an encoding from an instruction. This will enable
the definition of additional encodings for the same instruction which can
be used to support variable length instruction sets in the disassembler
(and potentially assembler but I'm not working towards that right now)
without causing an explosion in the number of Instruction records that
CodeGen then has to pick between.


Repository:
  rL LLVM

https://reviews.llvm.org/D52366

Files:
  utils/TableGen/FixedLenDecoderEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52366.166500.patch
Type: text/x-patch
Size: 9390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180921/c6ac4356/attachment.bin>


More information about the llvm-commits mailing list