Skip to content

Commit 13ac05e

Browse files
authored
Merge pull request #21634 from aschwaighofer/fix-tests-for-arm64-abi-spare-bits-change-5.0
Fix tests for arm64 abi spare bits change
2 parents 25034af + 3609dad commit 13ac05e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/Interpreter/builtin_bridge_object.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ let OBJC_TAGGED_POINTER_BITS: UInt = 0x8000_0000_0000_0001
2929
#elseif arch(arm64)
3030

3131
// We have ObjC tagged pointers in the highest bit
32-
let NATIVE_SPARE_BITS: UInt = 0x7F00_0000_0000_0007
32+
let NATIVE_SPARE_BITS: UInt = 0x7000_0000_0000_0007
3333
let OBJC_TAGGED_POINTER_BITS: UInt = 0x8000_0000_0000_0000
3434

3535
#elseif arch(powerpc64) || arch(powerpc64le)

test/Reflection/typeref_lowering.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@
10441044
// CHECK-64-NEXT: (field name=Indirect offset=0
10451045
// CHECK-64-NEXT: (reference kind=strong refcounting=native))))
10461046
// CHECK-64-NEXT: (field name=multiPayloadConcrete offset=24
1047-
// CHECK-64-NEXT: (multi_payload_enum size=8 alignment=8 stride=8 num_extra_inhabitants=2045 bitwise_takable=1
1047+
// CHECK-64-NEXT: (multi_payload_enum size=8 alignment=8 stride=8 num_extra_inhabitants={{(2045|125)}} bitwise_takable=1
10481048
// CHECK-64-NEXT: (field name=Left offset=0
10491049
// CHECK-64-NEXT: (reference kind=strong refcounting=native))
10501050
// CHECK-64-NEXT: (field name=Right offset=0

0 commit comments

Comments
 (0)