1 ; RUN: lli %s > /dev/null
4 @Y = global i32 6 ; <i32*> [#uses=1]
6 define void @blah(i32* %X) {
10 phi i32* [ %X, %0 ], [ @Y, %Dead ] ; <i32*>:1 [#uses=0]
12 Dead: ; No predecessors!
16 define i32 @test(i1 %C) {
18 br i1 %C, label %T, label %T
20 %X = phi i32 [ 123, %0 ], [ 123, %0 ] ; <i32> [#uses=1]
27 Test: ; preds = %Dead, %0
28 %X = phi i32 [ 0, %0 ], [ %Y, %Dead ] ; <i32> [#uses=1]
30 Dead: ; No predecessors!
31 %Y = ashr i32 12, 4 ; <i32> [#uses=1]