[all-commits] [llvm/llvm-project] 491123: [ctx_prof] Automatically convert available externa...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Tue Sep 24 13:18:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 491123562a7597f8b43e317a6481c69e4d15c4e7
https://github.com/llvm/llvm-project/commit/491123562a7597f8b43e317a6481c69e4d15c4e7
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-09-24 (Tue, 24 Sep 2024)
Changed paths:
M llvm/lib/Transforms/IPO/ElimAvailExtern.cpp
M llvm/test/Transforms/EliminateAvailableExternally/transform-to-local.ll
Log Message:
-----------
[ctx_prof] Automatically convert available external linkage to local for modules with contextual roots (#109203)
For the modules containing context roots, the way IPO happens will potentially result in imported functions that are differently specialized (even if themselves not inlined) than their originals. So we want to convert them to local rather than elide them.
Eventually we'd perform this as a ThinLTO directive.
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