[all-commits] [llvm/llvm-project] ffd982: [ObjC][ARC] Fix a bug where the inline-asm retain/...
Akira Hatanaka via All-commits
all-commits at lists.llvm.org
Fri Dec 18 16:59:44 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ffd982f7db58acf6653f987ca6411712feea25c3
https://github.com/llvm/llvm-project/commit/ffd982f7db58acf6653f987ca6411712feea25c3
Author: Akira Hatanaka <ahatanaka at apple.com>
Date: 2020-12-18 (Fri, 18 Dec 2020)
Changed paths:
M llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
M llvm/test/Transforms/ObjCARC/contract-marker.ll
Log Message:
-----------
[ObjC][ARC] Fix a bug where the inline-asm retain/claim RV marker wasn't
inserted when the original call had a 'returned' argument
The code is testing whether the instruction BBI points to is the call
that is paired up with the retainRV/claimRV call, but it doesn't work
when the call has a 'returned' argument since GetArgRCIdentityRoot looks
through 'returned' arguments.
rdar://72485383
More information about the All-commits
mailing list