Files
swift-mirror/test/AutoDiff
Erik Eckstein 4d1df28de0 ConstantFolding: add constant folding for some floating point intrinsics
* `sitofp` signed integer to floating point
* `rint` round floating point to integral
* `bitcast` between integer and floating point

Constant folding `bitcast`s also made it necessary to rewrite constant folding for Nan and inf values, because the old code explicitly checked for `bitcast` intrinsics.
Relying on constant folded `bitcast`s makes the new version much simpler.

It is important to constant fold these intrinsics already in SIL because it enables other optimizations.
2025-04-01 18:13:01 +02:00
..
2024-02-01 10:39:02 -08:00
2025-02-24 15:20:46 -08:00

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/.