blob: 977b6dff87cb7b00981f118453d1aac4520f2e01 [file] [log] [blame]
; RUN: opt < %s -simplifycfg -S | not grep br
define i32 @test1(i1 %C) {
entry:
br i1 %C, label %T, label %F
T: ; preds = %entry
ret i32 1
F: ; preds = %entry
ret i32 0
}
define void @test2(i1 %C) {
br i1 %C, label %T, label %F
T: ; preds = %0
ret void
F: ; preds = %0
ret void
}