Skip to content

Commit 3abefd1

Browse files
committed
Accomodate x86_64 vs. arm64 differences
1 parent 689ffbe commit 3abefd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

validation-test/Reflection/reflect_Enum_values12.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ reflect(object: C())
7676

7777
// CHECK64-NEXT: (class_instance size=24 alignment=8 stride=24 num_extra_inhabitants=0 bitwise_takable=1
7878
// CHECK64-NEXT: (field name=outer offset=16
79-
// CHECK64-NEXT: (multi_payload_enum size=8 alignment=8 stride=8 num_extra_inhabitants=126 bitwise_takable=1
79+
// x86_64 and arm64 have different spare bit pointer masks, hence different numbers of extra inhabitants here
80+
// CHECK64-NEXT: (multi_payload_enum size=8 alignment=8 stride=8 num_extra_inhabitants={{[0-9]+}} bitwise_takable=1
8081

8182
// CHECK32-NEXT: (class_instance size=12 alignment=4 stride=12 num_extra_inhabitants=0 bitwise_takable=1
8283
// CHECK32-NEXT: (field name=outer offset=8

0 commit comments

Comments
 (0)