Skip to content

Commit 380f319

Browse files
authored
Relax check strings (#76421)
rdar://135165028
1 parent 718bba4 commit 380f319

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
// RUN: %target-swift-emit-irgen %s -I %S/Inputs -cxx-interoperability-mode=default -Xcc -fno-exceptions -Xcc -fno-objc-exceptions | %FileCheck --dump-input-filter=all %s
1+
// RUN: %target-swift-emit-irgen %s -I %S/Inputs -cxx-interoperability-mode=default -Xcc -fno-exceptions -Xcc -fno-objc-exceptions | %FileCheck %s
22
// REQUIRES: objc_interop
33

44
// UNSUPPORTED: CPU=arm64e
55

66
import FunctionsObjC
77

8-
// CHECK: define linkonce_odr noundef ptr @_ZNK7Derived36__synthesizedBaseCall_virtual_methodEv(ptr noundef nonnull align {{4|8}} dereferenceable({{8|12}}) %[[THIS:.*]])
8+
// CHECK: define linkonce_odr {{.*}}ptr @_ZNK7Derived36__synthesizedBaseCall_virtual_methodEv(ptr {{.*}}%[[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({{8|12}}) %[[THIS1]])
15+
// CHECK: %[[CALL:.*]] = call {{.*}}ptr %[[V0]](ptr {{.*}}%[[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({{8|12}}) %[[THIS:.*]])
18+
// CHECK: define linkonce_odr {{.*}}ptr @_ZNK7Derived40__synthesizedBaseCall_non_virtual_methodEv(ptr {{.*}}%[[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({{8|12}}) %[[THIS1]])
22+
// CHECK: %[[CALL:.*]] = call {{.*}}ptr @_ZNK4Base18non_virtual_methodEv(ptr {{.*}}%[[THIS1]])
2323
// CHECK: ret ptr %[[CALL]]
2424

2525
func testBaseMethodCall() -> C {

0 commit comments

Comments
 (0)