mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
205b641954
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
14 lines
343 B
LLVM
14 lines
343 B
LLVM
; RUN: opt < %s -simplifycfg -S | grep {br i1} | count 1
|
|
|
|
define void @test(i32* %P, i32* %Q, i1 %A, i1 %B) {
|
|
br i1 %A, label %a, label %b
|
|
a: ; preds = %0
|
|
br i1 %B, label %b, label %c
|
|
b: ; preds = %a, %0
|
|
store i32 123, i32* %P
|
|
ret void
|
|
c: ; preds = %a
|
|
ret void
|
|
}
|
|
|