[ObjC][ARC] Replace uses of ObjC intrinsics that are arguments of
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 9 Nov 2021 05:19:07 +0000 (21:19 -0800)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 9 Nov 2021 05:19:07 +0000 (21:19 -0800)
commit1fe8993ad81900eea4d0f5603dffd239e520c31d
treeaa6b0ad3974134d72affedd31a9d2d8df0b649d1
parent0f2a7f2955cc632846ed8cd17865d887795eb0b3
[ObjC][ARC] Replace uses of ObjC intrinsics that are arguments of
operand bundle "clang.arc.attachedcall" with ObjC runtime functions

The existing code only handles the case where the intrinsic being
rewritten is used as the called function pointer of a call/invoke.
llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
llvm/test/Transforms/PreISelIntrinsicLowering/objc-arc.ll