diff options
author | Dehao Chen <dehao@google.com> | 2017-07-10 20:31:37 +0000 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2017-07-10 20:31:37 +0000 |
commit | de68633e049386d03aa6c96f75b978f8dc794b5f (patch) | |
tree | cb3950b3859beaa4145e7ec936acbb4d287dc607 /lib/CodeGen | |
parent | 08a262a9b7deceee7579613d85a3b8f50d36a182 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/BackendUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 9b3850abcc..513896d986 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -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); |