[llvm] [ThinLTO][BitcodeWriter] Write import type in per-module combined summary (PR #87600)

Jan Voung via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 19:10:49 PDT 2024


================
@@ -1272,6 +1272,12 @@ using ModulePathStringTableTy = StringMap<ModuleHash>;
 /// a particular module, and provide efficient access to their summary.
 using GVSummaryMapTy = DenseMap<GlobalValue::GUID, GlobalValueSummary *>;
 
+/// A set of global value summary pointers.
+using GVSummaryPtrSet = SmallPtrSet<GlobalValueSummary *, 4>;
+
+/// The key is module path, and value is a set of global value summary pointers.
----------------
jvoung wrote:

Ah got it, thanks for the clarification!

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


More information about the llvm-commits mailing list