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.
Paths
| Differential D96136
[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
Diff Detail
Event TimelineThis revision was not accepted when it landed; it landed in state Needs Review.Feb 12 2021, 10:08 AM Closed by commit rGe760ec2a01fb: [coro] Add support for polymorphic return typed coro.suspend.async (authored by aschwaighofer). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 323037 llvm/include/llvm/IR/Intrinsics.td
llvm/lib/Transforms/Coroutines/CoroInternal.h
llvm/lib/Transforms/Coroutines/CoroSplit.cpp
llvm/lib/Transforms/Coroutines/Coroutines.cpp
llvm/test/Transforms/Coroutines/coro-async.ll
|