1 ; RUN: llvm-as < %s | opt -predsimplify -simplifycfg | llvm-dis | grep pass
3 define void @regtest(i32 %x) {
5 %A = icmp eq i32 %x, 0 ; <i1> [#uses=1]
6 br i1 %A, label %middle, label %after
7 middle: ; preds = %entry
9 after: ; preds = %middle, %entry
10 %B = icmp eq i32 %x, 0 ; <i1> [#uses=1]
11 br i1 %B, label %then, label %else
12 then: ; preds = %after
14 else: ; preds = %after
15 call void (...)* @pass( )
17 end: ; preds = %else, %then
21 declare void @pass(...)