Skip to content

[SR-14113] Support _read and _modify accessor differentiation #54401

@dan-zheng

Description

@dan-zheng
Previous ID SR-14113
Radar rdar://problem/73742489
Original Reporter @dan-zheng
Type Task
Additional Detail from JIRA
Votes 3
Component/s Compiler
Labels Task, AutoDiff
Assignee None
Priority Medium

md5: fc0ab68747451d6712b8e1289f2c8b68

Sub-Tasks:

blocks:

  • SR-12640 Differentiation transform: support wrapped value modify accessors

is blocked by:

relates to:

  • TF-1078 [AD] Incorrect derivatives for coroutines (begin_apply for a modify accessor)

Issue Description:

Support differentiation of coroutines. read and modify accessors are coroutines.
SIL has dedicated coroutine function types: https://github.com/apple/swift/blob/master/docs/SIL.rst#coroutine-types

Consider adding subtasks when starting work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions