Skip to content

Commit 6d08ec3

Browse files
authored
Merge pull request #30917 from dan-zheng/autodiff-gardening
2 parents 3999b8b + 20dedfb commit 6d08ec3

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

include/swift/AST/SourceFile.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
namespace swift {
2121

2222
class PersistentParserState;
23-
class SynthesizedFileUnit;
2423

2524
/// A file containing Swift source code.
2625
///

test/AutoDiff/IRGen/Inputs/loadable_by_address_cross_module.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,4 @@ public struct LargeLoadableType<T>: AdditiveArithmetic, Differentiable {
1515
public func externalLBAModifiedFunction(_ x: Float) -> Float {
1616
return x * a
1717
}
18-
19-
// TODO(TF-1226): Remove custom derivative when stdlib derivatives are upstreamed.
20-
@usableFromInline
21-
@derivative(of: externalLBAModifiedFunction)
22-
func externalLBAModifiedFunctionVJP(_ x: Float) -> (
23-
value: Float, pullback: (Float) -> (Self, Float)
24-
) {
25-
let value = externalLBAModifiedFunction(x)
26-
return (value, { v in (Self(a: v * x), v * a) })
27-
}
2818
}

test/AutoDiff/Parse/differentiable_attr_parse.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// RUN: %target-swift-frontend -parse -verify %s
22

3-
// TODO(TF-1021): Remove "deprecated 'jvp:' and 'vjp:' argument" warnings.
4-
53
/// Good
64

75
struct Foo {

0 commit comments

Comments
 (0)