[llvm] [ThinLTO] Reduce the number of renaming due to promotions in distribu… (PR #188074)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 18 09:52:57 PDT 2026
================
@@ -1607,6 +1607,23 @@ void llvm::gatherImportedSummariesForModule(
SummariesForIndex[GUID] = DS->second;
}
+
+ // For each source module we import from, also include summaries for local
+ // functions that have NoRenameOnPromotion set. This is needed for distributed
+ // ThinLTO. Otherwise, the local funciton of the source module will keep its
----------------
yonghong-song wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/188074
More information about the llvm-commits
mailing list