[PATCH] D49303: [CodeGen][ObjC] Treat non-escaping blocks as global blocks to make copy/dispose a no-op

Jake Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 25 06:23:52 PDT 2022


jajadude added a comment.
Herald added a project: All.

@ahatanak @rjmccall  What if a block is marked with `noescape` and captures some variables at the same time?  Wouldn't that cause problem If the compiler continues to optimize it to `NSConcreteGlobal` type anyway?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D49303/new/

https://reviews.llvm.org/D49303



More information about the cfe-commits mailing list