[clang] [llvm] [PassBuilder] Add `LTOPreLink` to early simplication EP call backs (PR #114547)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 1 08:28:24 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:
Can we pass the full LTOPhase instead?
https://github.com/llvm/llvm-project/pull/114547
More information about the cfe-commits
mailing list