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

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 24 00:38:32 PDT 2021


rjmccall added a comment.

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.


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