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

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 20:53:53 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:

Of course, other option is to keep using SequenceToOffsetTable. Based on the perf delta, it may not be possible to consolidate the 2. 

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


More information about the llvm-commits mailing list