commit | f9fdcc0531ca53651c1d7d0877290e232cb5468d | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Fri Sep 07 23:30:50 2012 +0000 |
committer | John McCall <rjmccall@apple.com> | Fri Sep 07 23:30:50 2012 +0000 |
tree | 5703a9d7554e719aa3b44ea6003a0345e5d498e4 | |
parent | ec5fda4dedbc249b61be032f710e8c9d6396fee8 [diff] |
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