[llvm-branch-commits] [clang] [llvm] [LLVM][PassBuilder] Extend the function signature of callback for optimizer pipeline extension point (PR #100953)
Shilei Tian via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jul 29 06:26:58 PDT 2024
================
@@ -2159,7 +2161,7 @@ ModulePassManager PassBuilder::buildO0DefaultPipeline(OptimizationLevel Level,
CoroPM.addPass(GlobalDCEPass());
MPM.addPass(CoroConditionalWrapper(std::move(CoroPM)));
- invokeOptimizerLastEPCallbacks(MPM, Level);
+ invokeOptimizerLastEPCallbacks(MPM, Level, ThinOrFullLTOPhase::None);
----------------
shiltian wrote:
Good catch. I didn't notice the `bool LTOPreLink` argument.
https://github.com/llvm/llvm-project/pull/100953
More information about the llvm-branch-commits
mailing list