1 ; The PHI cannot be eliminated from this testcase, SCCP is mishandling invoke's!
2 ; RUN: opt < %s -sccp -S | grep phi
6 define i32 @test(i1 %cond) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
8 br i1 %cond, label %Inv, label %Cont
11 to label %Ok unwind label %LPad
15 %val = landingpad { i8*, i32 }
18 Cont: ; preds = %Ok, %Inv, %Entry
19 %X = phi i32 [ 0, %Entry ], [ 1, %Ok ], [ 0, %LPad ] ; <i32> [#uses=1]
23 declare i32 @__gxx_personality_v0(...)