1 ; RUN: llc < %s -march=ppc32
2 ; <rdar://problem/6020042>
4 define i32 @bork() nounwind {
6 br i1 true, label %bb1, label %bb3
9 %tmp1 = load i8* null, align 1
10 %tmp2 = icmp eq i8 %tmp1, 0
14 %val1 = phi i32 [ 0, %bb1 ], [ %val2, %bb2 ]
15 %val2 = select i1 %tmp2, i32 -1, i32 %val1
16 switch i32 %val2, label %bb2 [