commit | a7ccf7e3fb01b790345d2557129cf38ef7b03936 | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@apple.com> | Thu Mar 21 20:16:09 2019 |
committer | Akira Hatanaka <ahatanaka@apple.com> | Thu Mar 21 20:16:09 2019 |
tree | a58bea91a75031e2833b812dadef9711a0c41887 | |
parent | 86e52fd58617c03a0f4d562b3aa7e35eb7938cc9 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356707 91177308-0d34-0410-b5e6-96231b3b80d8