[llvm-branch-commits] [llvm] [ObjC] Support objc_claimAutoreleasedReturnValue (PR #138696)
Jon Roelofs via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue May 6 09:41:54 PDT 2025
================
@@ -1369,7 +1369,7 @@ bool AArch64CallLowering::lowerCall(MachineIRBuilder &MIRBuilder,
// 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.
- MIB.addImm(true);
+ MIB.addImm(objcarc::attachedCallOpBundleNeedsMarker(Info.CB));
----------------
jroelofs wrote:
This needs a test for the new behavior.
https://github.com/llvm/llvm-project/pull/138696
More information about the llvm-branch-commits
mailing list