[clang] [llvm] [PassBuilder] Add `LTOPreLink` to early simplication EP call backs (PR #114547)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 1 08:34:38 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)>
----------------
shiltian wrote:
Yes of course. I was in the same shoes and not sure which one is better, since the pipeline is only used in two places.
https://github.com/llvm/llvm-project/pull/114547
More information about the cfe-commits
mailing list