1 ; This test checks to make sure that 'br X, Dest, Dest' is folded into
4 ; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
5 ; RUN: not grep {br i1 %c2}
9 define i32 @test(i1 %c1, i1 %c2) {
11 br i1 %c1, label %A, label %Y
14 br i1 %c2, label %X, label %X
15 X: ; preds = %Y, %A, %A