ahatanak added a comment. We could emit a call to `@llvm.objc.retain` instead of the call to `@llvm.objc.retainAutoreleasedReturnValue`, but this doesn't seem to happen often and ARC optimizer can remove or replace the call anyway, so I'm just letting the front-end emit `@llvm.objc.retainAutoreleasedReturnValue` for simplicity.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97824/new/ https://reviews.llvm.org/D97824 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits