[llvm] [LLVM][DecoderEmitter] Add option to use function table in decodeToMCInst (PR #144814)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 23 01:40:05 PDT 2025


jayfoad wrote:

> (a) I measured the compile time as reported by clang on our downstream code (I am compiling using clang-18 as that's what I have installed.

When I was working on #117351 I tested various clang versions from 11 onwards and I found that clang-18 and clang-19 were by far the slowest. clang "trunk" (as it was in November 2024) was much better, like over 10x faster in some cases of extremely large switches.

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


More information about the llvm-commits mailing list