[llvm-branch-commits] [llvm] [ObjC] Support objc_claimAutoreleasedReturnValue (PR #138696)
Marina Taylor via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon May 12 08:49:01 PDT 2025
================
@@ -9545,7 +9545,9 @@ AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI,
// Do what the frontend tells us: if the rvmarker module flag is present,
// emit the marker. Always emit the call regardless.
// Tell the pseudo expansion using an additional boolean op.
- SDValue DoEmitMarker = DAG.getTargetConstant(true, DL, MVT::i32);
+ bool ShouldEmitMarker = objcarc::attachedCallOpBundleNeedsMarker(CLI.CB);
----------------
citymarina wrote:
I feel like the first sentence kind of subsumes the rest, so I just removed the now-out-of-date sentences after that.
https://github.com/llvm/llvm-project/pull/138696
More information about the llvm-branch-commits
mailing list