[PATCH] D102996: [ObjC][ARC] Use the addresses of the ARC runtime functions instead of integer 0/1 for the operand of bundle "clang.arc.attachedcall"

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 23 20:07:48 PDT 2021


ahatanak created this revision.
ahatanak added reviewers: rjmccall, ab, fhahn, dexonsmith.
ahatanak added a project: clang.
ahatanak requested review of this revision.

This should make it easier to understand what the IR is doing and also simplify some of the passes as they no longer have to translate the integer values to the runtime functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102996

Files:
  clang/lib/CodeGen/CGObjC.cpp
  clang/test/CodeGenObjC/arc-rv-attr.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102996.347291.patch
Type: text/x-patch
Size: 12003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210524/9f7c51ef/attachment-0001.bin>


More information about the cfe-commits mailing list