Skip to content

Commit bdc2d25

Browse files
authored
Update dominator-order.ll
1 parent 24646fa commit bdc2d25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CodeGen/SPIRV/dominator-order.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
; CHECK: %[[#FOR_BODY]] = OpLabel
1414
; CHECK: %[[#FOR_BODY137_LR_PH]] = OpLabel
1515

16-
define spir_kernel void @test(ptr addrspace(1) %arg) {
16+
define spir_kernel void @test(ptr addrspace(1) %arg, i1 %cond) {
1717
entry:
1818
br label %for.body
1919

2020
for.body137.lr.ph: ; preds = %for.body
2121
ret void
2222

2323
for.body: ; preds = %for.body, %entry
24-
br i1 undef, label %for.body, label %for.body137.lr.ph
24+
br i1 %cond, label %for.body, label %for.body137.lr.ph
2525
}

0 commit comments

Comments
 (0)