[llvm] [NFC][TableGen] Emit more readable builtin string table. (PR #105445)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 05:46:35 PDT 2024


================
@@ -637,15 +636,17 @@ void IntrinsicEmitter::EmitIntrinsicToBuiltinMap(
 
   // Populate the string table with the names of all the builtins after
   // removing this common prefix.
-  StringToOffsetTable Table;
+  SequenceToOffsetTable<StringRef> Table;
----------------
jurahul wrote:

The version with `split` is even smaller than what I have, so I adopted it.

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


More information about the llvm-commits mailing list