Skip to content

Commit 65285ff

Browse files
committed
[test][Windows] Fix Interop/Cxx/class/method/msvc-abi-return-indirect-trivial-record.swift failure on rebranch
On rebranch the `captures(none)` attribute comes after `sret`. Both the syntax and relative order of the LLVM `nocapture` parameter attribute changed in llvm/llvm-project#123181.
1 parent c8883e1 commit 65285ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Interop/Cxx/class/method/msvc-abi-return-indirect-trivial-record.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ public func passTempForIndirectRetToVoidCall() {
6767

6868
// CHECK: i32 @"$sSo18LoadableIntWrapperV2peoiyA2Bz_ABtFZ"(ptr
6969
// CHECK: %[[OPRESULT:.*]] = alloca %TSo18LoadableIntWrapperV, align 4
70-
// CHECK-x86_64: call void @"??YLoadableIntWrapper@@QEAA?AU0@U0@@Z"(ptr {{.*}}, ptr {{.*}} sret(%TSo18LoadableIntWrapperV) %[[OPRESULT]], i32
71-
// CHECK-aarch64: call void @"??YLoadableIntWrapper@@QEAA?AU0@U0@@Z"(ptr {{.*}}, ptr {{.*}} sret(%TSo18LoadableIntWrapperV) %[[OPRESULT]], i64
70+
// CHECK-x86_64: call void @"??YLoadableIntWrapper@@QEAA?AU0@U0@@Z"(ptr {{.*}}, ptr {{.*}} sret(%TSo18LoadableIntWrapperV){{.*}} %[[OPRESULT]], i32
71+
// CHECK-aarch64: call void @"??YLoadableIntWrapper@@QEAA?AU0@U0@@Z"(ptr {{.*}}, ptr {{.*}} sret(%TSo18LoadableIntWrapperV){{.*}} %[[OPRESULT]], i64

0 commit comments

Comments
 (0)