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

Jan Voung via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 06:23:34 PDT 2024


================
@@ -1108,19 +1118,19 @@ void llvm::ComputeCrossModuleImport(
           for (const auto &VI : GVS->refs()) {
             // Try to emplace the declaration entry. If a definition entry
----------------
jvoung wrote:

nit: can remove the comment "// Try to emplace the declaration entry ..."?

Same below at lines 1128 and 1133

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


More information about the llvm-commits mailing list