[PATCH] D98638: [RFC][Coroutine] Force stack allocation after await_suspend() call
Xun Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 16 23:06:23 PDT 2021
lxfind added a comment.
> Can't we did as inline comments?
No, because it would have already been too late. SuspendExpr returns the result of __builtin_coro_resume(awaiter.await_suspend().address()), which is different from the result of awaiter.await_suspend().
We need to be able to control the placement of awaiter.await_suspend(), which is why I had to break up the AST at that boundary.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98638/new/
https://reviews.llvm.org/D98638
More information about the cfe-commits
mailing list