]> granicus.if.org Git - clang/commit
In ARC, if we're emitting assembly markers for calls to
authorJohn McCall <rjmccall@apple.com>
Fri, 7 Sep 2012 23:30:50 +0000 (23:30 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 7 Sep 2012 23:30:50 +0000 (23:30 +0000)
commitf9fdcc0531ca53651c1d7d0877290e232cb5468d
tree5703a9d7554e719aa3b44ea6003a0345e5d498e4
parentec5fda4dedbc249b61be032f710e8c9d6396fee8
In ARC, if we're emitting assembly markers for calls to
objc_retainAutoreleasedReturnValue, we need to also be killing
them during return peepholing.  Make sure we recognize an
intervening bitcast, but more importantly, assert if we can't
find the asm marker at all.  rdar://problem/12133032

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163431 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
test/CodeGenObjC/arc-arm.m