[all-commits] [llvm/llvm-project] 3082a3: [LTO] Introduce helper functions to add GUIDs to I...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Thu Aug 22 12:07:08 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3082a381f57ef2885c270f41f2955e08c79634c5
https://github.com/llvm/llvm-project/commit/3082a381f57ef2885c270f41f2955e08c79634c5
Author: Kazu Hirata <kazu at google.com>
Date: 2024-08-22 (Thu, 22 Aug 2024)
Changed paths:
M llvm/include/llvm/Transforms/IPO/FunctionImport.h
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/tools/llvm-link/llvm-link.cpp
Log Message:
-----------
[LTO] Introduce helper functions to add GUIDs to ImportList (NFC) (#105555)
The new helper functions make the intent clearer while hiding
implementation details, including how we handle previously added
entries. Note that:
- If we are adding a GUID as a GlobalValueSummary::Definition, then we
override a previously added GlobalValueSummary::Declaration entry
for the same GUID.
- If we are adding a GUID as a GlobalValueSummary::Declaration, then a
previously added GlobalValueSummary::Definition entry for the same
GUID takes precedence, and no change is made.
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