[PATCH] D104953: [ObjC][ARC] Prevent moving objc_retain calls past objc_release calls that release the retained object

Akira Hatanaka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 25 20:32:04 PDT 2021


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

Handle the case where two different retains with different RC identity roots have the same insertion point and add a test case for that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104953

Files:
  llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  llvm/test/Transforms/ObjCARC/code-motion.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104953.354642.patch
Type: text/x-patch
Size: 8506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210626/a31c43d9/attachment.bin>


More information about the llvm-commits mailing list