commit | 67e85f751c5dfcdfe28a711791535a38cc5e3f60 | [log] [tgz] |
---|---|---|
author | Frederic Riss <friss@apple.com> | Wed Feb 17 18:51:27 2016 +0000 |
committer | Frederic Riss <friss@apple.com> | Wed Feb 17 18:51:27 2016 +0000 |
tree | e5458db9239585d0c7aeb953bb7b44604a56b6e1 | |
parent | 9a8ab6a9c2136a79542c3c0ad37b80d45d005729 [diff] |
[ObjCARC] Handle ARCInstKind::ClaimRV in OptimizeIndividualCalls. When support for objc_unsafeClaimAutoreleasedReturnValue has been added to the ARC optimizer in r258970, one case was missed which would lead the optimizer to execute an llvm_unreachable. In this case, just handle ClaimRV in the same way we handle RetainRV. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261134 91177308-0d34-0410-b5e6-96231b3b80d8