HomePhabricator

[coro async] Allow a coro.suspend.async to specify which argument is the…

Authored by aschwaighofer on Feb 23 2021, 10:01 AM.

Description

[coro async] Allow a coro.suspend.async to specify which argument is the context argument

Before we used the same argument as the entry point. The resume partial
function might want to use a different ABI for its context argument

Differential Revision: https://reviews.llvm.org/D97333