[llvm] [ThinLTO] Shrink GlobalValueSummary by 8 bytes (PR #107342)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 10:24:43 PDT 2024


================
@@ -538,10 +538,11 @@ class GlobalValueSummary {
   /// (either by the initializer of a global variable, or referenced
   /// from within a function). This does not include functions called, which
   /// are listed in the derived FunctionSummary object.
-  std::vector<ValueInfo> RefEdgeList;
+  SmallVector<ValueInfo, 0> RefEdgeList;
----------------
kazutakahirata wrote:

Fixed in the latest iteration.  Thanks!

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


More information about the llvm-commits mailing list