Skip to content

Commit 22d31a8

Browse files
committed
Fixing the undef deprecator issues
1 parent bfe355a commit 22d31a8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

llvm/test/CodeGen/Hexagon/swp-invalid-dag.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
%struct.ham = type { i8, [2 x i8], [2 x i8], [2 x i8] }
88
%struct.bar = type { [2 x i8], [2 x i8], [2 x i8] }
99

10-
define dso_local void @blam(i32 %arg) local_unnamed_addr #0 {
10+
define dso_local void @blam(i32 %arg, i8 %dummy, i32 %tmp) local_unnamed_addr #0 {
1111
bb:
1212
br label %bb1
1313

1414
bb1: ; preds = %bb1, %bb
15-
%phi = phi i8 [ %phi6, %bb1 ], [ undef, %bb ]
16-
%phi2 = phi i8 [ %phi, %bb1 ], [ undef, %bb ]
15+
%phi = phi i8 [ %phi6, %bb1 ], [ %dummy, %bb ]
16+
%phi2 = phi i8 [ %phi, %bb1 ], [ %dummy, %bb ]
1717
%phi3 = phi i8 [ %phi2, %bb1 ], [ 0, %bb ]
18-
%phi4 = phi i8 [ %phi3, %bb1 ], [ undef, %bb ]
19-
%phi5 = phi i8 [ %phi4, %bb1 ], [ undef, %bb ]
20-
%phi6 = phi i8 [ %phi5, %bb1 ], [ undef, %bb ]
21-
%phi7 = phi i32 [ %add, %bb1 ], [ undef, %bb ]
22-
%getelementptr = getelementptr inbounds %struct.quux, ptr null, i32 %arg, i32 12, i32 1, i32 undef
18+
%phi4 = phi i8 [ %phi3, %bb1 ], [ %dummy, %bb ]
19+
%phi5 = phi i8 [ %phi4, %bb1 ], [ %dummy, %bb ]
20+
%phi6 = phi i8 [ %phi5, %bb1 ], [ %dummy, %bb ]
21+
%phi7 = phi i32 [ %add, %bb1 ], [ %tmp, %bb ]
22+
%getelementptr = getelementptr inbounds %struct.quux, ptr null, i32 %arg, i32 12, i32 1, i8 %dummy
2323
store i8 %phi4, ptr %getelementptr, align 1
2424
%add = add i32 %phi7, -1
2525
%icmp = icmp eq i32 %add, 0

0 commit comments

Comments
 (0)