forked from OSchip/llvm-project
Use DenseMap instead std::map for GVSummaryMapTy
Summary: Frontend change for https://reviews.llvm.org/D35148 Reviewers: tejohnson Reviewed By: tejohnson Subscribers: sanjoy, cfe-commits Differential Revision: https://reviews.llvm.org/D35153 llvm-svn: 307584
This commit is contained in:
parent
4dcad5dc6b
commit
5f83d0e96b
|
@ -998,7 +998,7 @@ static void runThinLTOBackend(ModuleSummaryIndex *CombinedIndex, Module *M,
|
|||
std::unique_ptr<raw_pwrite_stream> OS,
|
||||
std::string SampleProfile,
|
||||
BackendAction Action) {
|
||||
StringMap<std::map<GlobalValue::GUID, GlobalValueSummary *>>
|
||||
StringMap<DenseMap<GlobalValue::GUID, GlobalValueSummary *>>
|
||||
ModuleToDefinedGVSummaries;
|
||||
CombinedIndex->collectDefinedGVSummariesPerModule(ModuleToDefinedGVSummaries);
|
||||
|
||||
|
|
Loading…
Reference in New Issue