[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
================
@@ -1495,6 +1501,8 @@ void SubtargetEmitter::emitSchedClassTables(SchedClassTables &SchedTables,
}
OS << "}; // " << Proc.ModelName << "SchedClasses\n";
}
+
+ StrTab.EmitStringTableDef(OS, Target + "SchedClassNames");
----------------
compnerd wrote:
I don’t think that DCE would occur in the dynamic build. This is an exposed interface, and unless it was marked as infused or static, the linker cannot know it it’s safe to remove.
https://github.com/llvm/llvm-project/pull/144202
More information about the llvm-commits
mailing list