[PATCH] D92808: [ObjC][ARC] Use operand bundle 'clang.arc.rv' instead of explicitly emitting retainRV or claimRV calls in the IR
Akira Hatanaka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 1 19:46:10 PST 2021
ahatanak added a comment.
We could run another pass to clean up the IR after inlining, but I think it's better to do the cleanup right after the callee function is cloned in the caller function.
================
Comment at: llvm/include/llvm/IR/Intrinsics.td:449
[llvm_vararg_ty]>;
+def int_objc_clang_arc_noop_use : Intrinsic<[],
+ [llvm_vararg_ty],
----------------
fhahn wrote:
> Can this be a `DefaultAttrIntrinsics` (which adds ` nofree nosync nounwind willreturn`)?
>
> Same probably for all/most objc_* intrinsics.
I'll change the other intrinsics in a separate patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92808/new/
https://reviews.llvm.org/D92808
More information about the llvm-commits
mailing list