blob: 2218fcad7b087f48bb8013566df9b3a83fa1547b [file] [log] [blame]
Chris Lattnerd039da92006-08-15 23:45:28 +00001; RUN: llvm-as < %s | llc
2
3 %struct..0anon = type { int }
4 %struct.rtx_def = type { ushort, ubyte, ubyte, [1 x %struct..0anon] }
5
6implementation ; Functions:
7
8fastcc void %immed_double_const(int %i0, int %i1) {
9entry:
10 %tmp1 = load uint* null ; <uint> [#uses=1]
11 switch uint %tmp1, label %bb103 [
12 uint 1, label %bb
13 uint 3, label %bb
14 ]
15
16bb: ; preds = %entry, %entry
17 %tmp14 = setgt int 0, 31 ; <bool> [#uses=1]
18 br bool %tmp14, label %cond_next77, label %cond_next17
19
20cond_next17: ; preds = %bb
21 ret void
22
23cond_next77: ; preds = %bb
24 %tmp79.not = setne int %i1, 0 ; <bool> [#uses=1]
25 %tmp84 = setlt int %i0, 0 ; <bool> [#uses=2]
26 %bothcond1 = or bool %tmp79.not, %tmp84 ; <bool> [#uses=1]
27 br bool %bothcond1, label %bb88, label %bb99
28
29bb88: ; preds = %cond_next77
30 %bothcond2 = and bool false, %tmp84 ; <bool> [#uses=0]
31 ret void
32
33bb99: ; preds = %cond_next77
34 ret void
35
36bb103: ; preds = %entry
37 ret void
38}