Skip to content

Commit 3f2f76f

Browse files
committed
Remove br undef in Verifier directory
1 parent 8181e43 commit 3f2f76f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/Verifier/tbaa-cyclic.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
; RUN: not llvm-as -disable-output < %s 2>&1 | FileCheck %s
22
; CHECK: Access type node must be a valid scalar type
33

4-
define void @test6(ptr %gi) #0 {
4+
define void @test6(ptr %gi, i1 %arg) #0 {
55
entry:
66
store i32 42, ptr %gi, align 4, !tbaa !0
77
br label %for.cond
88

99
for.cond: ; preds = %for.body, %entry
10-
br i1 undef, label %for.body, label %for.end
10+
br i1 %arg, label %for.body, label %for.end
1111

1212
for.body: ; preds = %for.cond
1313
store i32 undef, ptr %gi, align 4, !tbaa !2

0 commit comments

Comments
 (0)