Skip to content

Commit 536234b

Browse files
Merge pull request #66859 from felipepiovezan/felipe/alloca_size_int_type_fix
[DebugInfo][NFC] Update test to not check width of integer argument
2 parents edc003a + 640a006 commit 536234b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/DebugInfo/variadic-generics.swift

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

44
public func foo<each T>(args: repeat each T) {
55
// CHECK: define {{.*}} @"$s1a3foo4argsyxxQp_tRvzlF"
6-
// CHECK-SAME: ptr {{.*}} %[[ARG_0:.*]], i64 %{{.*}},
6+
// CHECK-SAME: ptr {{.*}} %[[ARG_0:.*]], i{{.*}} %{{.*}},
77
// CHECK-SAME: ptr %[[TYPE_PACK_ARG:.*]])
88
// CHECK: %[[TYPE_PACK_ALLOCA:.*]] = alloca ptr
99
// CHECK: call void @llvm.dbg.declare(metadata ptr %[[TYPE_PACK_ALLOCA]], metadata ![[TYPE_PACK_VAR:[0-9]+]], metadata !DIExpression())

0 commit comments

Comments
 (0)