Fix typo.
[oota-llvm.git] / test / CodeGen / PowerPC / 2006-08-15-SelectionCrash.ll
1 ; RUN: llc < %s
2
3         %struct..0anon = type { i32 }
4         %struct.rtx_def = type { i16, i8, i8, [1 x %struct..0anon] }
5
6 define fastcc void @immed_double_const(i32 %i0, i32 %i1) {
7 entry:
8         %tmp1 = load i32, i32* null             ; <i32> [#uses=1]
9         switch i32 %tmp1, label %bb103 [
10                  i32 1, label %bb
11                  i32 3, label %bb
12         ]
13 bb:             ; preds = %entry, %entry
14         %tmp14 = icmp sgt i32 0, 31             ; <i1> [#uses=1]
15         br i1 %tmp14, label %cond_next77, label %cond_next17
16 cond_next17:            ; preds = %bb
17         ret void
18 cond_next77:            ; preds = %bb
19         %tmp79.not = icmp ne i32 %i1, 0         ; <i1> [#uses=1]
20         %tmp84 = icmp slt i32 %i0, 0            ; <i1> [#uses=2]
21         %bothcond1 = or i1 %tmp79.not, %tmp84           ; <i1> [#uses=1]
22         br i1 %bothcond1, label %bb88, label %bb99
23 bb88:           ; preds = %cond_next77
24         %bothcond2 = and i1 false, %tmp84               ; <i1> [#uses=0]
25         ret void
26 bb99:           ; preds = %cond_next77
27         ret void
28 bb103:          ; preds = %entry
29         ret void
30 }