Commit 95f34eb
authored
[AutoDiff] Fix derivative for array literal with tuple_element_addr elts (swiftlang#78355)
The `adjIndex` was not incremented due to missed `remapType`.
Fixes swiftlang#542141 parent 6c29d2f commit 95f34eb
File tree
2 files changed
+2
-5
lines changed- lib/SILOptimizer/Differentiation
- test/AutoDiff/validation-test
2 files changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3284 | 3284 | | |
3285 | 3285 | | |
3286 | 3286 | | |
3287 | | - | |
| 3287 | + | |
3288 | 3288 | | |
3289 | 3289 | | |
3290 | 3290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
| 195 | + | |
199 | 196 | | |
200 | 197 | | |
201 | 198 | | |
| |||
0 commit comments