Skip to content

Commit d947e41

Browse files
committed
Try to fix test/IRGen/generic_tuples.swift
1 parent fc766a3 commit d947e41

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/IRGen/generic_tuples.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55

66
// REQUIRES: CPU=x86_64
77

8-
// CHECK: [[TYPE:%swift.type]] = type {
98
// CHECK-DAG: [[OPAQUE:%swift.opaque]] = type opaque
10-
// CHECK-DAG: [[TUPLE_TYPE:%swift.tuple_type]] = type { [[TYPE]], i64, ptr, [0 x %swift.tuple_element_type] }
11-
// CHECK: %swift.tuple_element_type = type { ptr, i32 }
9+
// CHECK-DAG: [[TUPLE_TYPE:%swift.tuple_type]] = type { %swift.type, i64, ptr, [0 x %swift.tuple_element_type] }
10+
// CHECK-DAG: %swift.tuple_element_type = type { ptr, i32 }
1211

1312
func dup<T>(_ x: T) -> (T, T) { var x = x; return (x,x) }
1413
// CHECK: define hidden swiftcc void @"$s14generic_tuples3dupyx_xtxlF"(ptr noalias nocapture %0, ptr noalias nocapture %1, ptr noalias nocapture %2, ptr %T)

0 commit comments

Comments
 (0)