mirror of
https://github.com/apple/swift.git
synced 2026-10-26 20:15:53 +01:00
Simply extract derivative in such case. To guard from valid SIL that does this, make such SIL a no-op during LLVM IR generation. This also reduce some code duplication here and there. Fixes #93536
Differentiable Programming Test Suite
This directory tests differentiable programming in Swift, described in
docs/DifferentiableProgramming.md.
Tests are categorized in subdirectories mimicking the directories in test/.