[PATCH] D65902: [ObjC][ARC] Upgrade calls to ARC runtime functions to intrinsic calls if the bitcode has the arm64 retainAutoreleasedReturnValue marker

Akira Hatanaka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 16:21:16 PDT 2019


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

Initialize variable `Changed` with the return value of the call to `UpgradeToIntrinsic`.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D65902

Files:
  llvm/include/llvm/IR/AutoUpgrade.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/IR/AutoUpgrade.cpp
  llvm/test/Bitcode/upgrade-arc-runtime-calls.bc
  llvm/test/Bitcode/upgrade-arc-runtime-calls.ll
  llvm/test/Bitcode/upgrade-clang-arc-use.ll
  llvm/test/Bitcode/upgrade-mrr-runtime-calls.bc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65902.214028.patch
Type: text/x-patch
Size: 11857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190807/0d0d31d4/attachment.bin>


More information about the llvm-commits mailing list