This is an archive of the discontinued LLVM Phabricator instance.

[coro] Add support for polymorphic return typed coro.suspend.async
ClosedPublic

Authored by aschwaighofer on Feb 5 2021, 6:39 AM.

Details

Summary

This allows for suspend point specific resume function types.

Return values from a suspend point can therefore be modelled as
arguments to the resume function. Allowing for directly passed return
types.

Diff Detail

Event Timeline

aschwaighofer created this revision.Feb 5 2021, 6:39 AM
aschwaighofer requested review of this revision.Feb 5 2021, 6:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2021, 6:39 AM

Same patch. Lets restart testing. The previous failures all seemed very unrelated.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 12 2021, 10:08 AM
This revision was automatically updated to reflect the committed changes.