[PATCH] D89903: [CodeGen] Crash instead of generating broken code with self-capturing __block var

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 18 14:03:28 PST 2021


ahatanak added a comment.

`VarDecl` has a bit (`EscapingByref`) that indicates whether the `__block` variable is captured by an escaping block. Can that information be used to avoid pre-moving to the heap?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89903



More information about the cfe-commits mailing list