[PATCH] D94487: [LTO] Use lto::backend for code generation (WIP).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 13 13:05:51 PST 2021


fhahn added inline comments.


================
Comment at: llvm/lib/LTO/LTOCodeGenerator.cpp:604
 
   legacy::PassManager preCodeGenPasses;
 
----------------
steven_wu wrote:
> I will try to remove all legacy pass manager from LTOCodegenerator in one commit to avoid complication. You can do ThinLTOCodeGenerator in a separate commit.
I think for that it might be best to expose the extension registration mechanism via `lto::Config`, so we can just configure it so it gets added to the pass manager used by `splitCodegen`and do not have to use a separate pass manager here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94487



More information about the llvm-commits mailing list