[PATCH] D99227: [Coroutine][Clang] Force emit lifetime intrinsics for Coroutines

Xun Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 24 08:51:11 PDT 2021


lxfind added a comment.

In D99227#2646819 <https://reviews.llvm.org/D99227#2646819>, @rjmccall wrote:

> Is it feasible to outline the initial segment that you don't want to be part of the coroutine, and then have coroutine splitting force that outlined function to be inlined into the ramp function?  IIUC, you were saying that the splitting patch was difficult, but maybe thinking about it as outlining simplifies things.  I know we had some nasty representational problems with the async lowering that we solved with outlining and force-inlining.

That's a good idea. I will think about it. Thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99227



More information about the cfe-commits mailing list