diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2020-11-10 13:46:53 -0800 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2020-11-10 13:48:25 -0800 |
commit | 874b0a0b9db93f5d3350ffe6b5efda2d908415d0 (patch) | |
tree | 8f3f7be5dee826703ca8ecc21f12992fdbd69159 /llvm/lib/CodeGen/SafeStack.cpp | |
parent | 53a0d45db6d0f33dfbb724c99ce2560ae25473c2 (diff) | |
download | llvm-874b0a0b9db93f5d3350ffe6b5efda2d908415d0.zip llvm-874b0a0b9db93f5d3350ffe6b5efda2d908415d0.tar.gz llvm-874b0a0b9db93f5d3350ffe6b5efda2d908415d0.tar.bz2 |
[CodeGen] Mark calls to objc_autorelease as tail
This enables a method sending an autorelease message to an object and
returning the object in MRR to avoid adding the object to an autorelease
pool if a call to objc_retainAutoreleasedReturnValue in the caller
function accepts the hand off of the retain count.
rdar://problem/50678052
Differential Revision: https://reviews.llvm.org/D91111
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions