Skip to content

Commit f22d923

Browse files
committed
[AutoDiff] Remove obsolete TODO comments.
1 parent 3999b8b commit f22d923

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

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)