@@ -20,20 +20,20 @@ public func testPassThrough(x: Int32) -> Int32 {
20
20
return passThrough ( x)
21
21
}
22
22
23
- // CHECK-LABEL: define {{.*}}i32 @"$s4main19testAddTwoTemplates1xs5Int32VAE_tF "(i32 %0)
24
- // CHECK: [[OUT_VAL:%.*]] = call i32 @{{_Z15addTwoTemplatesIiiET_S0_T0_ |"\?\?\$addTwoTemplates @HH@@YAHHH@Z"}}(i32 %0, i32 %0)
23
+ // CHECK-LABEL: define {{.*}}i32 @"$s4main22testAddMixedTypeParams1xs5Int32VAE_tF "(i32 %0)
24
+ // CHECK: [[OUT_VAL:%.*]] = call i32 @{{_Z18addMixedTypeParamsIiiET_S0_T0_ |"\?\?\$addMixedTypeParams @HH@@YAHHH@Z"}}(i32 %0, i32 %0)
25
25
// CHECK: ret i32 [[OUT_VAL]]
26
26
27
- // CHECK-LABEL: define linkonce_odr {{.*}}i32 @{{_Z15addTwoTemplatesIiiET_S0_T0_ |"\?\?\$addTwoTemplates @HH@@YAHHH@Z"}}(i32 %a, i32 %b)
28
- public func testAddTwoTemplates ( x: Int32 ) -> Int32 {
29
- return addTwoTemplates ( x, x)
27
+ // CHECK-LABEL: define linkonce_odr {{.*}}i32 @{{_Z18addMixedTypeParamsIiiET_S0_T0_ |"\?\?\$addMixedTypeParams @HH@@YAHHH@Z"}}(i32 %a, i32 %b)
28
+ public func testAddMixedTypeParams ( x: Int32 ) -> Int32 {
29
+ return addMixedTypeParams ( x, x)
30
30
}
31
31
32
- // CHECK-LABEL: define {{.*}}i32 @"$s4main7testAdd1xs5Int32VAE_tF "(i32 %0)
33
- // CHECK: [[OUT_VAL:%.*]] = call i32 @{{_Z3addIiET_S0_S0_ |"\?\?\$add @H@@YAHHH@Z"}}(i32 %0, i32 %0)
32
+ // CHECK-LABEL: define {{.*}}i32 @"$s4main21testAddSameTypeParams1xs5Int32VAE_tF "(i32 %0)
33
+ // CHECK: [[OUT_VAL:%.*]] = call i32 @{{_Z17addSameTypeParamsIiET_S0_S0_ |"\?\?\$addSameTypeParams @H@@YAHHH@Z"}}(i32 %0, i32 %0)
34
34
// CHECK: ret i32 [[OUT_VAL]]
35
35
36
- // CHECK-LABEL: define linkonce_odr {{.*}}i32 @{{_Z3addIiET_S0_S0_ |"\?\?\$add @H@@YAHHH@Z"}}(i32 %a, i32 %b)
37
- public func testAdd ( x: Int32 ) -> Int32 {
38
- return add ( x, x)
36
+ // CHECK-LABEL: define linkonce_odr {{.*}}i32 @{{_Z17addSameTypeParamsIiET_S0_S0_ |"\?\?\$addSameTypeParams @H@@YAHHH@Z"}}(i32 %a, i32 %b)
37
+ public func testAddSameTypeParams ( x: Int32 ) -> Int32 {
38
+ return addSameTypeParams ( x, x)
39
39
}
0 commit comments