[all-commits] [llvm/llvm-project] 009184: [ThinLTO] Avoid repeated std::map lookups (NFC) (#...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Wed Sep 4 01:28:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 009184fc3920f8a14dff9971edf68754ba28da5f
https://github.com/llvm/llvm-project/commit/009184fc3920f8a14dff9971edf68754ba28da5f
Author: Kazu Hirata <kazu at google.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
Log Message:
-----------
[ThinLTO] Avoid repeated std::map lookups (NFC) (#107156)
This patch avoids repeated std::map lookups with try_emplace.
While I am at it, this patch adds a couple of calls to
std::vector::reserve.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list