diff options
author | Michael Zolotukhin <mzolotukhin@apple.com> | 2017-10-17 23:47:06 +0000 |
---|---|---|
committer | Michael Zolotukhin <mzolotukhin@apple.com> | 2017-10-17 23:47:06 +0000 |
commit | c4fcc189d2f7e8bfdab0d8da576ff6ce0adb1d23 (patch) | |
tree | 98ff97ec3a42c9ae3f54449e23406fc325ac9b36 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | c03ceb92ca601adb1dd11a957e77dc5782b25216 (diff) | |
download | llvm-c4fcc189d2f7e8bfdab0d8da576ff6ce0adb1d23.zip llvm-c4fcc189d2f7e8bfdab0d8da576ff6ce0adb1d23.tar.gz llvm-c4fcc189d2f7e8bfdab0d8da576ff6ce0adb1d23.tar.bz2 |
[GlobalDCE] Use DenseMap instead of unordered_multimap for GVDependencies.
Summary:
std::unordered_multimap happens to be very slow when the number of elements
grows large. On one of our internal applications we observed a 17x compile time
improvement from changing it to DenseMap.
Reviewers: mehdi_amini, serge-sans-paille, davide
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D38916
llvm-svn: 316045
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions