Skip to content

Commit 5eaaa82

Browse files
author
Marc Rasi
committed
fix test for macos
1 parent b25dd43 commit 5eaaa82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/AutoDiff/sil_differentiability_witness.sil

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ sil_differentiability_witness [parameters 0] [results 0] @foo : $@convention(thi
5050
// ROUNDTRIP: vjp: @AD__foo__vjp_src_0_wrt_0 : $@convention(thin) (Float) -> (Float, @owned @callee_guaranteed (Float) -> Float)
5151
// ROUNDTRIP: }
5252

53-
// IRGEN-LABEL: @AD__foo_PSRS = protected global { i8*, i8* } {
53+
// IRGEN-LABEL: @AD__foo_PSRS ={{( protected)?}} global { i8*, i8* } {
5454
// IRGEN-SAME: @AD__foo__jvp_src_0_wrt_0
5555
// IRGEN-SAME: @AD__foo__vjp_src_0_wrt_0
5656
// IRGEN-SAME: }
@@ -118,7 +118,7 @@ sil_differentiability_witness [parameters 0] [results 0] @externalFn1 : $@conven
118118
// ROUNDTRIP: vjp: @AD__externalFn1__vjp_src_0_wrt_0 : $@convention(thin) (Float) -> (Float, @owned @callee_guaranteed (Float) -> Float)
119119
// ROUNDTRIP: }
120120

121-
// IRGEN-LABEL: @AD__externalFn1_PSRS = protected global { i8*, i8* } {
121+
// IRGEN-LABEL: @AD__externalFn1_PSRS ={{( protected)?}} global { i8*, i8* } {
122122
// IRGEN-SAME: @AD__externalFn1__jvp_src_0_wrt_0
123123
// IRGEN-SAME: @AD__externalFn1__vjp_src_0_wrt_0
124124
// IRGEN-SAME: }
@@ -142,7 +142,7 @@ sil_differentiability_witness [parameters 0] [results 0] @externalFn2 : $@conven
142142
// ROUNDTRIP: vjp: @AD__externalFn2__vjp_src_0_wrt_0 : $@convention(thin) (Float) -> (Float, @owned @callee_guaranteed (Float) -> Float)
143143
// ROUNDTRIP: }
144144

145-
// IRGEN-LABEL: @AD__externalFn2_PSRS = protected global { i8*, i8* } {
145+
// IRGEN-LABEL: @AD__externalFn2_PSRS ={{( protected)?}} global { i8*, i8* } {
146146
// IRGEN-SAME: @AD__externalFn2__jvp_src_0_wrt_0
147147
// IRGEN-SAME: @AD__externalFn2__vjp_src_0_wrt_0
148148
// IRGEN-SAME: }

0 commit comments

Comments
 (0)