[PATCH] D62433: [ObjC][ARC] Delete ObjC runtime calls if the argument is a global variable

Akira Hatanaka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 16:15:26 PDT 2019


ahatanak updated this revision to Diff 202815.
ahatanak added a comment.

Check the presence of attribute "arc_retain_agnostic" on the global variable before deleting the ARC calls.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62433

Files:
  include/llvm/Analysis/ObjCARCInstKind.h
  lib/Analysis/ObjCARCInstKind.cpp
  lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  test/Transforms/ObjCARC/global.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62433.202815.patch
Type: text/x-patch
Size: 7080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190603/631320ab/attachment.bin>


More information about the llvm-commits mailing list