diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-12-06 22:32:19 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-12-06 22:32:19 +0000 |
| commit | 91fac59a81233f559cf9e5201a57f7282a7b224d (patch) | |
| tree | 9da2f49f04fad5f5b5a46ac8bd1ce79b1af6ad43 /llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp | |
| parent | 7ac58ee3e1de8faea092b74ee74ef22e358383e1 (diff) | |
| download | bcm5719-llvm-91fac59a81233f559cf9e5201a57f7282a7b224d.tar.gz bcm5719-llvm-91fac59a81233f559cf9e5201a57f7282a7b224d.zip | |
Add a call to std::vector::reserve.
This reduces total allocations when linking clang fsds from 263.21MB
to 174.62MB.
This also has some very nice speed improvements on some
benchmarks. Chromium and clang fsds link 6% faster.
llvm-svn: 319976
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions

