Skip to content

Commit 910fc12

Browse files
committed
Delete duplicate test from AutoDiff/SILOptimizer/generics.swift
It's already included in test/AutoDiff/SILOptimizer/fragile_curry_thunk.swift
1 parent f3f3ab8 commit 910fc12

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

test/AutoDiff/SILOptimizer/generics.swift

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -250,27 +250,6 @@ extension TF_682_Proto where Self : Differentiable,
250250
}
251251
}
252252

253-
// NOTE(TF-1208): Differentiation regression due to changes in curry thunk generation.
254-
/*
255-
// TF-688: Test generic curry thunk cloning.
256-
public struct TF_688_Struct<Scalar> {
257-
var x: Scalar
258-
}
259-
extension TF_688_Struct: Differentiable where Scalar: Differentiable {
260-
@differentiable(reverse)
261-
public static func id(x: Self) -> Self {
262-
return x
263-
}
264-
}
265-
@differentiable(reverse, wrt: x)
266-
public func TF_688<Scalar: Differentiable>(
267-
_ x: TF_688_Struct<Scalar>,
268-
reduction: @differentiable(reverse) (TF_688_Struct<Scalar>) -> TF_688_Struct<Scalar> = TF_688_Struct.id
269-
) -> TF_688_Struct<Scalar> {
270-
reduction(x)
271-
}
272-
*/
273-
274253
// TF-697: Test generic requirements of generated derivative function.
275254
protocol TF_697_Module: Differentiable {
276255
associatedtype Input

0 commit comments

Comments
 (0)