[PATCH] D93743: [NewPM] Run ObjC ARC passes

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 22 21:44:57 PST 2020


aeubanks created this revision.
aeubanks added reviewers: ahatanak, ychen.
Herald added a subscriber: hiraditya.
aeubanks requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

Match the legacy PM in running various ObjC ARC passes.

This requires making some module passes into function passes. These were
initially ported as module passes since they add function declarations
(e.g. https://reviews.llvm.org/D86178), but that's still up for debate
and other passes do so.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93743

Files:
  clang/lib/CodeGen/BackendUtil.cpp
  llvm/include/llvm/Transforms/ObjCARC.h
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
  llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93743.313480.patch
Type: text/x-patch
Size: 5295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201223/6009312f/attachment.bin>


More information about the cfe-commits mailing list