We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e6ff75 commit ca48b01Copy full SHA for ca48b01
llvm/lib/Transforms/IPO/FunctionImport.cpp
@@ -600,8 +600,8 @@ class WorkloadImportsManager : public ModuleImportsManager {
600
LLVM_DEBUG(dbgs() << "[Workload][Including]" << VI.name() << " from "
601
<< ExportingModule << " : "
602
<< Function::getGUID(VI.name()) << "\n");
603
- ImportList[ExportingModule][VI.getGUID()] =
604
- GlobalValueSummary::Definition;
+ FunctionImporter::addDefinition(ImportList, ExportingModule,
+ VI.getGUID());
605
GVI.onImportingSummary(*GVS);
606
if (ExportLists)
607
(*ExportLists)[ExportingModule].insert(VI);
0 commit comments