[llvm] [TableGen] Add mapping from processor ID to resource index for packetizer (PR #158182)

Haohai Wen via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 14 20:15:21 PDT 2025


================
@@ -256,6 +256,16 @@ void DFAPacketizerEmitter::emitForItineraries(
   }
   OS << "\n};\n\n";
 
+  // Output the mapping from proc ID to ResourceIndexStart
+  Idx = 1;
----------------
HaohaiWen wrote:

Should this table be placed after ProcResourceIndexStart?


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


More information about the llvm-commits mailing list