Skip to content

Commit a73650c

Browse files
committed
Generalize test for 32-bit platforms
1 parent f3eca93 commit a73650c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/IRGen/backward_deploy_span.swift

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-swift-frontend -target %target-cpu-apple-macos12 -emit-ir -o - -primary-file %s | %FileCheck %s
2-
// REQUIRES: concurrency
32
// REQUIRES: OS=macosx
43

54
func useGenericMetatype(_ type: any ~Escapable.Type) { }
@@ -11,7 +10,5 @@ func testSpanInt() {
1110
useGenericMetatype(Span<Int>.self)
1211
}
1312

14-
// CHECK-LABEL: define linkonce_odr hidden swiftcc %swift.metadata_response @"$ss4SpanVySiGMa"(i64 %0)
15-
// CHECK: call swiftcc %swift.metadata_response @"$ss4SpanVMa"(i64 %0, ptr @"$sSiN")
16-
17-
13+
// CHECK-LABEL: define linkonce_odr hidden swiftcc %swift.metadata_response @"$ss4SpanVySiGMa"
14+
// CHECK: call swiftcc %swift.metadata_response @"$ss4SpanVMa"({{i32|i64}} %0, ptr @"$sSiN")

0 commit comments

Comments
 (0)