[PATCH] D111334: [ObjC][ARC] Handle operand bundle "clang.arc.attachedcall" on targets that don't use the inline asm marker

Akira Hatanaka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 12:04:52 PDT 2021


ahatanak created this revision.
ahatanak added reviewers: fhahn, rjmccall, dexonsmith.
ahatanak added a project: LLVM.
Herald added subscribers: pengfei, hiraditya, kristof.beyls.
ahatanak requested review of this revision.

https://reviews.llvm.org/D111331 makes clang use operand bundle "clang.arc.attachedcall"  on x86-64, which, unlike arm, doesn't use the inline asm marker for the retainRV/autoreleaseRV handshake. This patch makes the changes needed to handle the operand bundle on targets that don't use the marker.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111334

Files:
  llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
  llvm/lib/Transforms/ObjCARC/ObjCARC.h
  llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
  llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  llvm/test/Transforms/ObjCARC/contract-attached-call-no-marker.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111334.377932.patch
Type: text/x-patch
Size: 5213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211007/6e52659d/attachment.bin>


More information about the llvm-commits mailing list