swift
c62f931e - [Sema] Propagate `@_fixed_layout` during `Differentiable` derived con… (#22035)

Commit
6 years ago
[Sema] Propagate `@_fixed_layout` during `Differentiable` derived con… (#22035) * [Sema] Propagate `@_fixed_layout` during `Differentiable` derived conformances. During `Differentiable` derived conformances, propagate `@_fixed_layout` to synthesized associated structs if the nominal struct is marked with `@_fixed_layout`. This is important for resilience. Refactor `addFixedLayoutAttr` and move to a common location. * Fix duplicated `@_fieldwiseDifferentiable` attribute.
Author
Parents
Loading