[llvm] [TableGen] Use StringTable for searchable tables (PR #206252)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 28 06:33:03 PDT 2026


jurahul wrote:

> > Would it make sense to create a table of strings across all tables being emitted?
> 
> 
> 
> I investigated and concluded that there'd be very little benefit. The only file with meaningful duplicates was SPIRV, because it stores several builtin infos twice (bad design, IMO). Otherwise, a merged string table would make it more difficult to use smaller string table offsets in the data structures for small tables later on.

Thanks for checking.

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


More information about the llvm-commits mailing list