Skip to content

Commit 2faa947

Browse files
committed
[test] IRGen: Adjust FileCheck pattern for new initializes attribute in upstream LLVM
The parameter attribute was introduced in 5ece35df8586d0cb8c104a9f44eaae771de025f5 (llvm-project) and is expected here according to the lowered function body. Match it using a wildcard regex, since it is not relevant to this test. This is intended to reduce future conflicts with rebranch.
1 parent d42c399 commit 2faa947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/IRGen/rdar149985633.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// REQUIRES: PTRSIZE=64
44

5-
// CHECK: define {{.*}}swiftcc void @"$s13rdar1499856334DateV1a1b1c1d1e1fACSiSg_A5JtcfC"(ptr noalias nocapture writeonly sret(%T13rdar1499856334DateV) %0, i64 %1, i8 %2, i64 %3, i8 %4, i64 %5, i8 %6, i64 %7, i8 %8, i64 %9, i8 %10, i64 %11, i8 %12)
5+
// CHECK: define {{.*}}swiftcc void @"$s13rdar1499856334DateV1a1b1c1d1e1fACSiSg_A5JtcfC"(ptr noalias nocapture writeonly sret(%T13rdar1499856334DateV){{.*}} %0, i64 %1, i8 %2, i64 %3, i8 %4, i64 %5, i8 %6, i64 %7, i8 %8, i64 %9, i8 %10, i64 %11, i8 %12)
66
// CHECK: entry:
77
// CHECK: store i64 %1
88
// CHECK: getelementptr inbounds{{.*}} i8, ptr %0, i64 8

0 commit comments

Comments
 (0)