[clang] [llvm] [PassBuilder] Add `LTOPreLink` to early simplication EP call backs (PR #114547)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 08:37:59 PDT 2024
================
@@ -478,7 +478,8 @@ class PassBuilder {
/// This extension point allows adding optimization right after passes that do
/// basic simplification of the input IR.
void registerPipelineEarlySimplificationEPCallback(
- const std::function<void(ModulePassManager &, OptimizationLevel)> &C) {
+ const std::function<void(ModulePassManager &, OptimizationLevel, bool)>
----------------
nikic wrote:
I think using the full phase is more future-proof, in case someone wants to distinguish thin/full LTO in the future.
https://github.com/llvm/llvm-project/pull/114547
More information about the llvm-commits
mailing list