[llvm-branch-commits] [llvm] [PowerPC][GlobalMerge] Reduce TOC usage by merging internal and private global data (PR #101224)

Eli Friedman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 30 12:47:44 PDT 2024


================
@@ -28,6 +28,10 @@ struct GlobalMergeOptions {
   bool MergeConst = false;
   /// Whether we should merge global variables that have external linkage.
   bool MergeExternal = true;
+  /// Whether we should merge global variables that have private linkage.
+  bool MergePrivateGlobals = false;
----------------
efriedma-quic wrote:

MergePrivateGlobals is unused?

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


More information about the llvm-branch-commits mailing list