1 ; The PHI cannot be eliminated from this testcase, SCCP is mishandling invoke's!
2 ; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep phi
6 define i32 @test(i1 %cond) {
8 br i1 %cond, label %Inv, label %Cont
11 to label %Ok unwind label %Cont
14 Cont: ; preds = %Ok, %Inv, %Entry
15 %X = phi i32 [ 0, %Entry ], [ 1, %Ok ], [ 0, %Inv ] ; <i32> [#uses=1]