Add AST representation for coroutines #78508
asl
requested a review
from
rxwei
1 year ago
asl
requested a review
from
CodaFi
1 year ago
asl
requested a review
1 year ago
asl
requested a review
from
xymus
1 year ago
asl
requested a review
from
hborla
1 year ago
asl
requested a review
from
xedin
1 year ago
asl
requested a review
from
hyp
1 year ago
asl
force pushed
1 year ago
asl
force pushed
to
8dc78b36
1 year ago
xedin
commented
on 2025-01-23
Add basic boilerplate for AST coroutines and yields
d124554c
First cut of making coroutine AST type
58bfe07d
Add parsing of @yield_once and @yields attributes and corresponding t…
9acaa144
Properly substitute coroutines
2ebe7bcb
Initial & rudimentary support for coroutine function types. Some fixe…
4e1018d0
Remove now unnecessary special case
c49c3d9a
Unbreak tests after read / modify accessors added
f42b1078
Some fixes wrt generic coroutines
cd1fb77a
Handle end_apply results in RegionAnalyzer
e7cd1c54
Deconstruct Escapable check for coroutines with normal results
33203989
Outline stdlib ABI changes wrt coroutines
16e40e61
Allow custom _modify accessor derivative registration
e9ad117b
Correct pullback type calculatio in presence of yields
d2289c59
Emit custom derivative thunks for coroutines
a268f837
Add support for coroutine linear map thunks
f6eb061d
Enable Array.subscript._modify differentiation
0fd46d1d
Add end-to-end validation test involving array modify accessor differ…
3e520622
Correctly terminate inner coroutine for custom vjps
84130738
asl
force pushed
from
8dc78b36
to
84130738
198 days ago
asl
requested a review
from
kavon
198 days ago
asl
requested a review
from
j-hui
198 days ago
asl
requested a review
from
xedin
198 days ago
asl
marked this pull request as draft 143 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub