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 | 5f83d0e96bc9b7fc726f5b28de98d8e7edf02161 (patch) | |
tree | 45c1ebe10878b6fc31ae418c1f1409e72fa273cf | |
parent | 4dcad5dc6b5f491e903d68f5278f527e6a3c98af (diff) | |
download | bcm5719-llvm-5f83d0e96bc9b7fc726f5b28de98d8e7edf02161.tar.gz bcm5719-llvm-5f83d0e96bc9b7fc726f5b28de98d8e7edf02161.zip |
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
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 9b3850abcce..513896d9863 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/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); |