1 ; RUN: llvm-as < %s | opt -simplifycfg -instcombine \
2 ; RUN: -simplifycfg | llvm-dis | not grep call
6 define void @test(i32 %X, i32 %Y) {
8 %tmp.2 = icmp ne i32 %X, %Y ; <i1> [#uses=1]
9 br i1 %tmp.2, label %shortcirc_next, label %UnifiedReturnBlock
10 shortcirc_next: ; preds = %entry
11 %tmp.3 = icmp ne i32 %X, %Y ; <i1> [#uses=1]
12 br i1 %tmp.3, label %UnifiedReturnBlock, label %then
13 then: ; preds = %shortcirc_next
16 UnifiedReturnBlock: ; preds = %shortcirc_next, %entry