Skip to content

Commit f81d2e6

Browse files
authored
Fix a test that was failing on armv7k (swiftlang#76259)
rdar://135165028
1 parent fa54a4c commit f81d2e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/Interop/Cxx/class/inheritance/functions-objc-irgen.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55

66
import FunctionsObjC
77

8-
// CHECK: define linkonce_odr noundef ptr @_ZNK7Derived36__synthesizedBaseCall_virtual_methodEv(ptr noundef nonnull align {{4|8}} dereferenceable(12) %[[THIS:.*]])
8+
// CHECK: define linkonce_odr noundef ptr @_ZNK7Derived36__synthesizedBaseCall_virtual_methodEv(ptr noundef nonnull align {{4|8}} dereferenceable({{8|12}}) %[[THIS:.*]])
99
// CHECK: %[[THIS_ADDR:.*]] = alloca ptr,
1010
// CHECK: store ptr %[[THIS]], ptr %[[THIS_ADDR]],
1111
// CHECK: %[[THIS1:.*]] = load ptr, ptr %[[THIS_ADDR]],
1212
// CHECK: %[[VTABLE:.*]] = load ptr, ptr %[[THIS1]],
1313
// CHECK: %[[VFN:.*]] = getelementptr inbounds ptr, ptr %[[VTABLE]], i64 0
1414
// CHECK: %[[V0:.*]] = load ptr, ptr %[[VFN]],
15-
// CHECK: %[[CALL:.*]] = call noundef ptr %[[V0]](ptr noundef nonnull align {{4|8}} dereferenceable(12) %[[THIS1]])
15+
// CHECK: %[[CALL:.*]] = call noundef ptr %[[V0]](ptr noundef nonnull align {{4|8}} dereferenceable({{8|12}}) %[[THIS1]])
1616
// CHECK: ret ptr %[[CALL]]
1717

18-
// CHECK: define linkonce_odr noundef ptr @_ZNK7Derived40__synthesizedBaseCall_non_virtual_methodEv(ptr noundef nonnull align {{4|8}} dereferenceable(12) %[[THIS:.*]])
18+
// CHECK: define linkonce_odr noundef ptr @_ZNK7Derived40__synthesizedBaseCall_non_virtual_methodEv(ptr noundef nonnull align {{4|8}} dereferenceable({{8|12}}) %[[THIS:.*]])
1919
// CHECK: %[[THIS_ADDR:.*]] = alloca ptr,
2020
// CHECK: store ptr %[[THIS]], ptr %[[THIS_ADDR]],
2121
// CHECK: %[[THIS1:.*]] = load ptr, ptr %[[THIS_ADDR]],
22-
// CHECK: %[[CALL:.*]] = call noundef ptr @_ZNK4Base18non_virtual_methodEv(ptr noundef nonnull align {{4|8}} dereferenceable(12) %[[THIS1]])
22+
// CHECK: %[[CALL:.*]] = call noundef ptr @_ZNK4Base18non_virtual_methodEv(ptr noundef nonnull align {{4|8}} dereferenceable({{8|12}}) %[[THIS1]])
2323
// CHECK: ret ptr %[[CALL]]
2424

2525
func testBaseMethodCall() -> C {

0 commit comments

Comments
 (0)