@@ -96,7 +96,7 @@ bb0(%0 : $*T, %1 : $G<T>, %2 : $*T.Elt):
96
96
97
97
// Specialization getGenericContainer<S, X>
98
98
//
99
- // CHECK-LABEL: sil shared @_TTSg5V4main1SS0_S_6HasEltS__VS_1XS2_S_5AnEltS____TF16eager_specialize19getGenericContaineruRxS_6HasEltwx3EltS_5AnEltrFTGVS_1Gx_1ewxS1__x : $@convention(thin) (G<S>, X) -> S {
99
+ // CHECK-LABEL: sil shared @_TTSg5V4main1SS0_S_6HasEltS____TF16eager_specialize19getGenericContaineruRxS_6HasEltwx3EltS_5AnEltrFTGVS_1Gx_1ewxS1__x : $@convention(thin) (G<S>, X) -> S {
100
100
// CHECK: bb0(%0 : $G<S>, %1 : $X):
101
101
// CHECK: return %{{.*}} : $S
102
102
@@ -126,7 +126,7 @@ bb0(%0 : $*T, %1 : $G<T>, %2 : $*T.Elt):
126
126
// CHECK: %16 = unchecked_addr_cast %2 : $*T.Elt to $*X
127
127
// CHECK: %17 = load %16 : $*X
128
128
// function_ref specialized getGenericContainer<A where ...> (G<A>, e : A.Elt) -> A
129
- // CHECK: %18 = function_ref @_TTSg5V4main1SS0_S_6HasEltS__VS_1XS2_S_5AnEltS____TF16eager_specialize19getGenericContaineruRxS_6HasEltwx3EltS_5AnEltrFTGVS_1Gx_1ewxS1__x : $@convention(thin) (G<S>, X) -> S
129
+ // CHECK: %18 = function_ref @_TTSg5V4main1SS0_S_6HasEltS____TF16eager_specialize19getGenericContaineruRxS_6HasEltwx3EltS_5AnEltrFTGVS_1Gx_1ewxS1__x : $@convention(thin) (G<S>, X) -> S
130
130
// CHECK: %19 = apply %18(%15, %17) : $@convention(thin) (G<S>, X) -> S
131
131
// CHECK: store %19 to %14 : $*S
132
132
// CHECK: %21 = tuple ()
@@ -196,7 +196,7 @@ bb2: // Preds: bb0
196
196
}
197
197
198
198
// specialized divideNum<A where ...> (A, den : A) throws -> A
199
- // CHECK-LABEL: sil shared @_TTSg5SiSis13SignedIntegers_SiSis33_BuiltinIntegerLiteralConvertibles_SiSis12SignedNumbers_SiSiS0_s_Si___TF16eager_specialize9divideNumuRxs13SignedIntegerrFzTx3denx_x : $@convention(thin) (Int, Int) -> (Int, @error ErrorProtocol) {
199
+ // CHECK-LABEL: sil shared @_TTSg5SiSis13SignedIntegers___TF16eager_specialize9divideNumuRxs13SignedIntegerrFzTx3denx_x : $@convention(thin) (Int, Int) -> (Int, @error ErrorProtocol) {
200
200
// CHECK: bb0(%0 : $Int, %1 : $Int):
201
201
// CHECK: return %{{.*}}
202
202
// CHECK: throw %{{.*}}
@@ -238,7 +238,7 @@ bb2: // Preds: bb0
238
238
// CHECK: %{{.*}} = unchecked_addr_cast %2 : $*T to $*Int
239
239
// CHECK: %{{.*}} = load %{{.*}} : $*Int
240
240
// CHECK: // function_ref specialized divideNum<A where ...> (A, den : A) throws -> A
241
- // CHECK: %{{.*}} = function_ref @_TTSg5SiSis13SignedIntegers_SiSis33_BuiltinIntegerLiteralConvertibles_SiSis12SignedNumbers_SiSiS0_s_Si___TF16eager_specialize9divideNumuRxs13SignedIntegerrFzTx3denx_x : $@convention(thin) (Int, Int) -> (Int, @error ErrorProtocol)
241
+ // CHECK: %{{.*}} = function_ref @_TTSg5SiSis13SignedIntegers___TF16eager_specialize9divideNumuRxs13SignedIntegerrFzTx3denx_x : $@convention(thin) (Int, Int) -> (Int, @error ErrorProtocol)
242
242
// CHECK: try_apply %{{.*}}(%{{.*}}, %{{.*}}) : $@convention(thin) (Int, Int) -> (Int, @error ErrorProtocol), normal bb8, error bb7
243
243
244
244
// CHECK: bb7(%{{.*}} : $ErrorProtocol): // Preds: bb6
0 commit comments