@@ -24,21 +24,21 @@ sil_witness_table S_3 : P module main {}
24
24
// CHECK: store i8** getelementptr inbounds {{.*}}$s26variadic_generic_functions3S_2VAA1PAAWP{{.*}}, i8*** [[WTABLE_ELEMENT_0]]
25
25
// CHECK: [[METADATA_PACK_PTR:%[^,]+]] = bitcast [1 x %swift.type*]* [[METADATA_PACK]] to %swift.type**
26
26
// CHECK: [[WTABLE_PACK_ADDR:%[^,]+]] = bitcast [1 x i8**]* [[WTABLE_PACK]] to i8***
27
- // CHECK: call swiftcc void @g(i64 1, %swift.type** [[METADATA_PACK_PTR]], i8*** [[WTABLE_PACK_ADDR]])
27
+ // CHECK: call swiftcc void @g(i{{(64|32)}} 1, %swift.type** [[METADATA_PACK_PTR]], i8*** [[WTABLE_PACK_ADDR]])
28
28
sil @c : $() -> () {
29
29
%g = function_ref @g : $@convention(thin) <T... : P> () -> ()
30
30
apply %g<Pack{S_2}>() : $@convention(thin) <T... : P> () -> ()
31
31
%ret = tuple ()
32
32
return %ret : $()
33
33
}
34
34
35
- // CHECK: define {{.*}}void @f(i64 %0, %swift.type** %T, i8*** %T.P)
35
+ // CHECK: define {{.*}}void @f(i{{(64|32)}} %0, %swift.type** %T, i8*** %T.P)
36
36
sil @f : $<T... : P> () -> () {
37
37
%ret = tuple ()
38
38
return %ret : $()
39
39
}
40
40
41
- // CHECK: define {{.*}}void @g(i64 %0, %swift.type** %T, i8*** %T.P)
41
+ // CHECK: define {{.*}}void @g(i{{(64|32)}} %0, %swift.type** %T, i8*** %T.P)
42
42
sil @g : $<T... : P> () -> () {
43
43
%f = function_ref @f : $@convention(thin) <T... : P> () -> ()
44
44
apply %f<Pack{repeat each T, S, repeat each T, repeat each T}>() : $@convention(thin) <T... : P> () -> ()
0 commit comments