This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by ahatanak on May 23 2021, 8:07 PM.

Details

Summary

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.

Diff Detail