Skip to content

Commit 4fc0be2

Browse files
Merge pull request #66853 from felipepiovezan/felipe/alloca_size_int_type_fix
[DebugInfo][NFC] Update test to not check width of alloca integer arguments
2 parents 806fd1b + 4500aad commit 4fc0be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/DebugInfo/inlined-generics-basic.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class C<R> {
5151
// SIL: function_ref {{.*}}yes{{.*}} scope [[F1G1]]
5252
// SIL: function_ref {{.*}}use{{.*}} scope [[F1G3H]]
5353
// IR: dbg.value(metadata ptr %[[ARG_S]], metadata ![[MD_1_0:[0-9]+]]
54-
// IR: %[[RS_PAIR:.*]] = alloca i8, i64 %
54+
// IR: %[[RS_PAIR:.*]] = alloca i8, i{{.*}} %
5555
// IR: dbg.declare(metadata ptr %[[RS_PAIR]], metadata ![[GRS_T:[0-9]+]],
5656
// IR: dbg.value(metadata ptr %[[ARG_0]], metadata ![[S:[0-9]+]]
5757
// IR: dbg.value(metadata ptr %[[ARG_0]], metadata ![[GS_T:[0-9]+]]

0 commit comments

Comments
 (0)