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
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to