[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:52:34 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:

Based on the above data, please advise the next course of action. One option is to change `StringToOffsetTable` to emit its table in the same format as `SequenceToOffsetTable`.

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


More information about the llvm-commits mailing list