Skip to content

Commit 2920243

Browse files
committed
Try to fix test/IRGen/fulfillment_map_key_equality.swift for 32-bit targets
1 parent 1d4ad2f commit 2920243

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

test/IRGen/fulfillment_map_key_equality.swift

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
// RUN: %target-swift-frontend -emit-ir %s -enable-library-evolution | %FileCheck %s
22

3-
// FIXME: We just need to adjust the check line below, there's no inherent
4-
// reason for this not to be tested on wasm.
5-
6-
// UNSUPPORTED: CPU=wasm32
7-
8-
// This test does not support 32 bit right now.
9-
// UNSUPPORTED: PTRSIZE=32
10-
113
// rdar://160649141
124

135
public protocol P1 {}
@@ -24,7 +16,7 @@ public protocol P3 where A4.A1 == A3.A2.A1 {
2416
associatedtype A3: P5
2517
associatedtype A4: P2
2618

27-
var x: Int { get }
19+
var x: Int32 { get }
2820
}
2921

3022
public protocol P6: P3 {}
@@ -43,6 +35,6 @@ public struct G3<T: P6 & P4>: P3 where T.A4.A1: P1 {
4335

4436
// Make sure this witness thunk doesn't have any additional bogus parameters.
4537

46-
// CHECK-LABEL: define internal swiftcc i64 @"$s28fulfillment_map_key_equality2G3VyxGAA2P3A2aEP1xSivgTW"(ptr noalias swiftself captures(none) %0, ptr %Self, ptr %SelfWitnessTable) {{.*}} {
47-
public var x: Int { fatalError() }
38+
// CHECK-LABEL: define internal swiftcc i32 @"$s28fulfillment_map_key_equality2G3VyxGAA2P3A2aEP1xs5Int32VvgTW"(ptr noalias swiftself captures(none) %0, ptr %Self, ptr %SelfWitnessTable) {{.*}} {
39+
public var x: Int32 { fatalError() }
4840
}

0 commit comments

Comments
 (0)