-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
AutoDiffSILcompilerThe Swift compiler itselfThe Swift compiler itselffeatureA feature request or implementationA feature request or implementation
Description
Previous ID | SR-14115 |
Radar | None |
Original Reporter | @dan-zheng |
Type | Sub-task |
Additional Detail from JIRA
Votes | 0 |
Component/s | Compiler |
Labels | Sub-task, AutoDiff |
Assignee | None |
Priority | Medium |
md5: fe00df47fa9d2ad8d02ae88725898756
Parent-Task:
- SR-14113 Support
_read
and_modify
accessor differentiation
Issue Description:
SIL has dedicated coroutine function types: https://github.com/apple/swift/blob/master/docs/SIL.rst#coroutine-types
Figure out derivative type calculation for coroutines.
// Array.subscript.modify example
Original function type: $@yield_once @convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> @yields @inout τ_0_0
Derivative function type: ???
Metadata
Metadata
Assignees
Labels
AutoDiffSILcompilerThe Swift compiler itselfThe Swift compiler itselffeatureA feature request or implementationA feature request or implementation