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

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 3 01:55:29 PDT 2025


s-barannikov wrote:

> Can we store the type in the Instruction class in the .td files like the bitwidth instead of introducing a complex command line argument?

+1 for this.

> we will still need to validate for example that for all instructions with a particular size, the type string is same

Why can't they be different?


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


More information about the llvm-commits mailing list