[llvm] [TableGen][DecoderEmitter] Add option to emit type-specialized `decodeToMCInst` (PR #146593)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 1 13:42:39 PDT 2025


topperc wrote:

> Why can't the disassembler emitter figure out the bitwidths from the tablegen input? It already makes separate tables for each instruction size.

Oh is it because RISC-V uses 3 bit widths, but only 2 types for DecodeInstruction?

https://github.com/llvm/llvm-project/pull/146593


More information about the llvm-commits mailing list