[all-commits] [llvm/llvm-project] 756dd7: [NewPM] Run ObjC ARC passes

aeubanks via All-commits all-commits at lists.llvm.org
Fri Jan 8 15:51:35 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 756dd707668ccc1ac22b88d5899984843a5a3262
      https://github.com/llvm/llvm-project/commit/756dd707668ccc1ac22b88d5899984843a5a3262
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

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

  Log Message:
  -----------
  [NewPM] Run ObjC ARC passes

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.

Reviewed By: ahatanak

Differential Revision: https://reviews.llvm.org/D93743




More information about the All-commits mailing list