[llvm-branch-commits] [clang] [llvm] [LLVM][PassBuilder] Extend the function signature of callback for optimizer pipeline extension point (PR #100953)
Nikita Popov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jul 29 06:19:43 PDT 2024
https://github.com/nikic commented:
This seems fine to me in general. The patch stack seems to be messed up though, or at least this seems to contain some unrelated AMDGPU changes.
@jdoerfert Possibly the issue you saw is that this callback just isn't used by the post-link full LTO pipeline at all? It uses invokeFullLinkTimeOptimizationLastEPCallbacks instead. Maybe with this change it would make sense to remove that one and merge it into the main OptimizerLastEPCallback with the appropriate LTOPhase?
The other thing I wonder about is whether this argument should be added to other callbacks as well for consistency.
https://github.com/llvm/llvm-project/pull/100953
More information about the llvm-branch-commits
mailing list