Similar to https://reviews.llvm.org/D86178.
This is a module pass instead of a function pass since
ARCRuntimeEntryPoints can lazily add function declarations.
Paths
| Differential D87806
[ObjCARC][NewPM] Port objc-arc-contract to NPM ClosedPublic Authored by aeubanks on Sep 16 2020, 4:43 PM.
Details Summary Similar to https://reviews.llvm.org/D86178. This is a module pass instead of a function pass since
Diff Detail
Event TimelineComment Actions Patch looks good to me, but do you have to change anything to fix the pre-merge check test failure? Comment Actions
That failure is unrelated, I remember that test already being an issue around when I put this patch up for review. Comment Actions I don't think it would be hard to make this pass and ObjCARCOpt function passes, but we can do that later. This revision is now accepted and ready to land.Sep 21 2020, 9:28 AM This revision was landed with ongoing or failed builds.Sep 21 2020, 9:41 AM Closed by commit rG024979b7b657: [ObjCARC][NewPM] Port objc-arc-contract to NPM (authored by aeubanks). · Explain Why This revision was automatically updated to reflect the committed changes. RKSimon added inline comments.
Revision Contents
Diff 293203 llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/ObjCARC.h
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
llvm/test/Transforms/ObjCARC/contract.ll
|
@aeubanks Santizer buildbots are reporting uninitialized values for Changed:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/46392