[PATCH] D94547: [lld-macho] Run ObjCContractPass during LTO

Nathan Lanza via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 15:57:38 PST 2021


lanza added a comment.

This goes right before codegen in `ThinLTOCodeGenerator`. `TM.addPassesToEmitFile` is the entry point to the llvm backend. So the legacy implementation has this pass ran immediately after the front-end is finished and right before the backend starts. I imagine doing the same here makes the most sense.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94547



More information about the llvm-commits mailing list