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

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 20 13:53:10 PDT 2025


jurahul wrote:

Yes, this is measuring `getInstruction` time and not the other stuff. If we include llvm-mc execution time, I am not sure we will get any meaningful data as the cost of I/O, string formatting will dominate the execution time. For RISCV there only a handful of tests in `check-llvm-mc-disassembler-risvc` target, so those are the ones that I included in the runs.

I am not sure if we can implement this without the lambda (which will be execute exactly once per getInstruction call I think as the final deocde step).


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


More information about the llvm-commits mailing list