[PATCH] D67687: [CodeGen] Define an interface for the new pass manager. (new)

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 21:22:00 PDT 2020


ychen added a comment.

I made a few fixes and added some missing functionality in the last update:

- introduce the machine module pass which runs over an IR module instead of machine function. Clients are on their own to use MMI to do the IR->MIR mapping. This is for passes like MachineOutliner, MachineDebugify. Also added unit test case for this.
- add PassInstrumentation support
- add RequireCodeGenSCCOrder (now only a TODO) which is needed for IPRA.
- simplify SFINAE to use `is_detected`

@arsenm does this version look good to you?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67687





More information about the llvm-commits mailing list