@@ -15,7 +15,7 @@ struct Impl: P {
15
15
// CHECK: ret void
16
16
// CHECK: [[FAIL]]:
17
17
// CHECK: call swiftcc void @"$s16typed_throws_abi5EmptyVACycfC"()
18
- // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"() #12
18
+ // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"()
19
19
// CHECK: call swiftcc void @swift_willThrowTyped(ptr noalias undef, ptr getelementptr inbounds (<{ ptr, ptr, i64, ptr }>, ptr @"$s16typed_throws_abi5EmptyVMf", i32 0, i32 2), ptr [[ERROR_WITNESS]])
20
20
// CHECK: store ptr inttoptr (i64 1 to ptr), ptr %2, align 8
21
21
// CHECK: ret void
@@ -32,7 +32,7 @@ struct Impl: P {
32
32
// CHECK: ret i64 1
33
33
// CHECK: [[FAIL]]:
34
34
// CHECK: call swiftcc void @"$s16typed_throws_abi5EmptyVACycfC"()
35
- // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"() #12
35
+ // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"()
36
36
// CHECK: call swiftcc void @swift_willThrowTyped(ptr noalias undef, ptr getelementptr inbounds (<{ ptr, ptr, i64, ptr }>, ptr @"$s16typed_throws_abi5EmptyVMf", i32 0, i32 2), ptr [[ERROR_WITNESS]])
37
37
// CHECK: store ptr inttoptr (i64 1 to ptr), ptr %2, align 8
38
38
// CHECK: ret i64 undef
@@ -50,7 +50,7 @@ struct Impl: P {
50
50
// CHECK: ret { i64, i64 } { i64 1, i64 2 }
51
51
// CHECK: [[FAIL]]:
52
52
// CHECK: call swiftcc void @"$s16typed_throws_abi5EmptyVACycfC"()
53
- // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"() #12
53
+ // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"()
54
54
// CHECK: call swiftcc void @swift_willThrowTyped(ptr noalias undef, ptr getelementptr inbounds (<{ ptr, ptr, i64, ptr }>, ptr @"$s16typed_throws_abi5EmptyVMf", i32 0, i32 2), ptr [[ERROR_WITNESS]])
55
55
// CHECK: store ptr inttoptr (i64 1 to ptr), ptr %2, align 8
56
56
// CHECK: ret { i64, i64 } undef
@@ -68,7 +68,7 @@ struct Impl: P {
68
68
// CHECK: ret { i64, i64, i64 } { i64 1, i64 2, i64 3 }
69
69
// CHECK: [[FAIL]]:
70
70
// CHECK: call swiftcc void @"$s16typed_throws_abi5EmptyVACycfC"()
71
- // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"() #12
71
+ // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"()
72
72
// CHECK: call swiftcc void @swift_willThrowTyped(ptr noalias undef, ptr getelementptr inbounds (<{ ptr, ptr, i64, ptr }>, ptr @"$s16typed_throws_abi5EmptyVMf", i32 0, i32 2), ptr [[ERROR_WITNESS]])
73
73
// CHECK: store ptr inttoptr (i64 1 to ptr), ptr %2, align 8
74
74
// CHECK: ret { i64, i64, i64 } undef
@@ -86,7 +86,7 @@ struct Impl: P {
86
86
// CHECK: ret { i64, i64, i64, i64 } { i64 1, i64 2, i64 3, i64 4 }
87
87
// CHECK: [[FAIL]]:
88
88
// CHECK: call swiftcc void @"$s16typed_throws_abi5EmptyVACycfC"()
89
- // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"() #12
89
+ // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"()
90
90
// CHECK: call swiftcc void @swift_willThrowTyped(ptr noalias undef, ptr getelementptr inbounds (<{ ptr, ptr, i64, ptr }>, ptr @"$s16typed_throws_abi5EmptyVMf", i32 0, i32 2), ptr [[ERROR_WITNESS]])
91
91
// CHECK: store ptr inttoptr (i64 1 to ptr), ptr %2, align 8
92
92
// CHECK: ret { i64, i64, i64, i64 } undef
@@ -109,7 +109,7 @@ struct Impl: P {
109
109
// CHECK: ret void
110
110
// CHECK: [[FAIL]]:
111
111
// CHECK: call swiftcc void @"$s16typed_throws_abi5EmptyVACycfC"()
112
- // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"() #12
112
+ // CHECK: [[ERROR_WITNESS:%.*]] = call ptr @"$s16typed_throws_abi5EmptyVACs5ErrorAAWl"()
113
113
// CHECK: call swiftcc void @swift_willThrowTyped(ptr noalias undef, ptr getelementptr inbounds (<{ ptr, ptr, i64, ptr }>, ptr @"$s16typed_throws_abi5EmptyVMf", i32 0, i32 2), ptr [[ERROR_WITNESS]])
114
114
// CHECK: store ptr inttoptr (i64 1 to ptr), ptr %3, align 8
115
115
// CHECK: ret void
@@ -215,7 +215,7 @@ struct Impl: P {
215
215
return ( 1 , 2 , 3 , 4 )
216
216
}
217
217
218
- // CHECK: define hidden swiftcc void @"$s16typed_throws_abi4ImplV2g5ySi_S4itSbAA7OneWordVYKF"(ptr noalias nocapture sret(<{ %TSi, %TSi, %TSi, %TSi, %TSi }>) %0, i1 %1, ptr swiftself %2, ptr noalias nocapture swifterror dereferenceable(8) %3, ptr %4) #0 {
218
+ // CHECK: define hidden swiftcc void @"$s16typed_throws_abi4ImplV2g5ySi_S4itSbAA7OneWordVYKF"(ptr noalias nocapture sret(<{ %TSi, %TSi, %TSi, %TSi, %TSi }>) %0, i1 %1, ptr swiftself %2, ptr noalias nocapture swifterror dereferenceable(8) %3, ptr %4)
219
219
// CHECK: entry:
220
220
// CHECK: [[ERROR:%.*]] = alloca %T16typed_throws_abi7OneWordV, align 8
221
221
// CHECK: br i1 %1, label %[[SUCCESS:.*]], label %[[FAIL:.*]]
@@ -677,7 +677,7 @@ func callImpl_g5(_ impl: Impl, _ b: Bool) -> (Int, Int, Int, Int, Int) {
677
677
@available ( SwiftStdlib 6 . 0 , * )
678
678
struct ImplAsync : PAsync {
679
679
680
- // CHECK: define hidden swifttailcc void @"$s16typed_throws_abi9ImplAsyncV2f0yySbYaAA5EmptyVYKF"(ptr swiftasync %0, i1 %1) #0 {
680
+ // CHECK: define hidden swifttailcc void @"$s16typed_throws_abi9ImplAsyncV2f0yySbYaAA5EmptyVYKF"(ptr swiftasync %0, i1 %1)
681
681
// CHECK: [[CORO:%.*]] = call ptr @llvm.coro.begin(token {{%.*}}, ptr null)
682
682
// CHECK: br i1 %1, label %[[SUCCESS:.*]], label %[[FAIL:.*]]
683
683
// CHECK: [[SUCCESS]]:
@@ -776,7 +776,7 @@ struct ImplAsync: PAsync {
776
776
return ( 1 , 2 , 3 , 4 )
777
777
}
778
778
779
- // CHECK: define hidden swifttailcc void @"$s16typed_throws_abi9ImplAsyncV2f5ySi_S4itSbYaAA5EmptyVYKF"(ptr noalias nocapture %0, ptr swiftasync %1, i1 %2, ptr %3) #0 {
779
+ // CHECK: define hidden swifttailcc void @"$s16typed_throws_abi9ImplAsyncV2f5ySi_S4itSbYaAA5EmptyVYKF"(ptr noalias nocapture %0, ptr swiftasync %1, i1 %2, ptr %3)
780
780
// CHECK: [[CORO:%.*]] = call ptr @llvm.coro.begin(token {{%.*}}, ptr null)
781
781
// CHECK: br i1 %2, label %[[SUCCESS:.*]], label %[[FAIL:.*]]
782
782
// CHECK: [[SUCCESS]]:
@@ -905,7 +905,7 @@ struct ImplAsync: PAsync {
905
905
return ( 1 , 2 , 3 , 4 )
906
906
}
907
907
908
- // CHECK: define hidden swifttailcc void @"$s16typed_throws_abi9ImplAsyncV2g5ySi_S4itSbYaAA7OneWordVYKF"(ptr noalias nocapture %0, ptr swiftasync %1, i1 %2, ptr %3) #0 {
908
+ // CHECK: define hidden swifttailcc void @"$s16typed_throws_abi9ImplAsyncV2g5ySi_S4itSbYaAA7OneWordVYKF"(ptr noalias nocapture %0, ptr swiftasync %1, i1 %2, ptr %3)
909
909
// CHECK: [[ERROR:%.*]] = alloca %T16typed_throws_abi7OneWordV, align 8
910
910
// CHECK: [[CORO:%.*]] = call ptr @llvm.coro.begin(token {{%.*}}, ptr null)
911
911
// CHECK: br i1 %2, label %[[SUCCESS:.*]], label %[[FAIL:.*]]
0 commit comments