Skip to content
Commit b576c77a authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

Don't add a tail keyword to calls to ObjC runtime functions if the calls

are annotated with notail.

r356705 annotated calls to objc_retainAutoreleasedReturnValue with
notail on x86-64. This commit teaches ARC optimizer to check the notail
marker on the call before turning it into a tail call.

rdar://problem/38675807

llvm-svn: 356707
parent 3205dbb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment