[llvm] [MC] Use StringTable to reduce dynamic relocations (PR #144202)

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 14 08:09:28 PDT 2025


================
@@ -324,6 +325,9 @@ struct MCSchedModel {
   const MCSchedClassDesc *SchedClassTable;
   unsigned NumProcResourceKinds;
   unsigned NumSchedClasses;
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
+  const StringTable *SchedClassNames;
+#endif
----------------
compnerd wrote:

This seems pine a concern - hopefully a -Asserts build would just fail and catch this?

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


More information about the llvm-commits mailing list