[llvm] [ThinLTO] Use a set rather than a map to track exported ValueInfos. (PR #97360)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 11:15:27 PDT 2024


================
@@ -995,26 +995,19 @@ static bool isGlobalVarSummary(const ModuleSummaryIndex &Index,
   return false;
 }
 
-// Return the number of global summaries and record the number of function
-// summaries as output parameter.
-static unsigned numGlobalVarSummaries(const ModuleSummaryIndex &Index,
-                                      FunctionImporter::ExportSetTy &ExportSet,
-                                      unsigned &DefinedFS) {
+// Return the number of global summaries in ExportSet.
----------------
teresajohnson wrote:

"global variable summaries" (to distinguish from global value summaries).

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


More information about the llvm-commits mailing list