[clang] [lld] [llvm] [ThinLTO] Reduce the number of renaming due to promotions (PR #178587)
Teresa Johnson via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 12 09:16:46 PST 2026
================
@@ -773,6 +773,9 @@ struct DevirtIndex {
// resolution for local targets in case they are exported by cross module
// importing.
std::map<ValueInfo, std::vector<VTableSlotSummary>> &LocalWPDTargetsMap;
+ // If not null, the set records local functions which are exported to
----------------
teresajohnson wrote:
And specifically, we have hardcoded the promoted and renamed function name in the WPD summary, so we need to ensure that they will be renamed. Note this and that adding the current names to this set ensures we continue to rename them.
https://github.com/llvm/llvm-project/pull/178587
More information about the cfe-commits
mailing list