1; RUN: opt < %s -simplifycfg -instcombine \ 2; RUN: -simplifycfg -S | not grep call 3 4declare void @bar() 5 6define void @test(i32 %X, i32 %Y) { 7entry: 8 %tmp.2 = icmp ne i32 %X, %Y ; <i1> [#uses=1] 9 br i1 %tmp.2, label %shortcirc_next, label %UnifiedReturnBlock 10shortcirc_next: ; preds = %entry 11 %tmp.3 = icmp ne i32 %X, %Y ; <i1> [#uses=1] 12 br i1 %tmp.3, label %UnifiedReturnBlock, label %then 13then: ; preds = %shortcirc_next 14 call void @bar( ) 15 ret void 16UnifiedReturnBlock: ; preds = %shortcirc_next, %entry 17 ret void 18} 19 20