Closed
Description
Previous ID | SR-13670 |
Radar | None |
Original Reporter | @dan-zheng |
Type | Sub-task |
Status | Closed |
Resolution | Done |
Additional Detail from JIRA
Votes | 0 |
Component/s | |
Labels | Sub-task |
Assignee | @dan-zheng |
Priority | Medium |
md5: e5ce47fd74f7fc29e2c2f821747e676e
Parent-Task:
- SR-13659 Retroactive derivative registration
is blocked by:
- SR-13669 Differentiation: revamp transform to directly canonicalize differentiability witnesses
relates to:
- TF-1037 [AD] Crash for
@differentiable
+@derivative
attributes with different derivative generic signatures - TF-1042 [AD] Remove
ASTContext::{Differentiable,Derivative}Attrs
Issue Description:
Do not generate implicit @differentiable
attributes during @derivative
attribute type-checking. This was a hack and recently caused problems in ASTScopeLookup logic (TF-815).
Instead, directly lower @derivative
attributes to SIL differentiability witnesses during SILGen.
Metadata
Metadata
Assignees
Labels
No labels