[PATCH] D61738: Provide basic LTO extension points

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 31 00:51:37 PDT 2019


serge-sans-paille added a comment.

> I wonder if the LTO pass pipeline shouldn't honor the existing EP_EarlyAsPossible extension point?

`EP_EarlyAsPossible` is referenced by `populateFunctionPassManager` which seems to be called wathever the optimization level, but maybe you're proposing to have it applied twice, once for compilation unit level, and once for link level?
If that's the case, I find it confusing, and `EP_LinkTimeOptimizationEarly` would play that  role.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61738/new/

https://reviews.llvm.org/D61738





More information about the llvm-commits mailing list