Files
swift-mirror/test/AutoDiff/compiler_crashers_fixed
Erik Eckstein 78bfc9f955 RedundantLoadElimination: support replacing a redundant copy_addr with a store
For example:
```
  %0 = load %1
  copy_addr %1 to %2
```
->
```
  %0 = load %1
  store %0 to %2
```

This is important for MandatoryRedundantLoadElimination to be able to create statically initialized globals in the mandatory pipeline.
For example:
```
public struct MyStruct {
  public static let r: Range<Int> = 1 ..< 3
}

```
gets a statically initialized global, even at Onone, with this improvement.

rdar://149356742
2025-04-28 08:01:49 +02:00
..

This directory tests fixed compiler crashers related to differentiable programming in Swift.

lit.local.cfg checks for asserts as a lit available feature, so there is no need to add REQUIRES: asserts to individual test files.