swift
264b50ea - [AutoDiff] Add `@differentiable` attribute SILGen assertion.

Commit
6 years ago
[AutoDiff] Add `@differentiable` attribute SILGen assertion. Previously, `@differentiable` attribute SILGen lowering was skipped if the attribute did not have resolved parameter indices. This led to unexpected and difficult-to-debug bugs like TF-888. Re-add the assertion for robustness.
Author
Parents
Loading