[llvm-branch-commits] [llvm] [ObjC] Support objc_claimAutoreleasedReturnValue (PR #138696)

Florian Hahn via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 6 12:47:37 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);
----------------
fhahn wrote:

Does the comment above need updating?

https://github.com/llvm/llvm-project/pull/138696


More information about the llvm-branch-commits mailing list