diff --git a/llvm/test/tools/llvm-reduce/operands-skip.ll b/llvm/test/tools/llvm-reduce/operands-skip.ll index 505f1d7e369061..ba5bcf44201815 100644 --- a/llvm/test/tools/llvm-reduce/operands-skip.ll +++ b/llvm/test/tools/llvm-reduce/operands-skip.ll @@ -27,10 +27,10 @@ @Global = global i32 42 -define void @func(ptr %arg1, ptr %arg2) { +define void @func(ptr %arg1, ptr %arg2, i1 %arg) { entry: %val = getelementptr i32, ptr getelementptr (i32, ptr @Global, i32 1), i32 2 - br i1 undef, label %branch, label %loop + br i1 %arg, label %branch, label %loop branch: %nondominating1 = getelementptr i32, ptr %val, i32 3 @@ -50,7 +50,7 @@ loop: store i32 49, ptr %imm, align 4 ; Reduce to null %nondominating2 = getelementptr i32, ptr %indirect, i32 6 - br i1 undef, label %loop, label %exit + br i1 %arg, label %loop, label %exit exit: store i32 50, ptr %arg2, align 4 ; Reduce to %arg1 (compactify function arguments)