Chris Lattner | d039da9 | 2006-08-15 23:45:28 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc |
| 2 | |
| 3 | %struct..0anon = type { int } |
| 4 | %struct.rtx_def = type { ushort, ubyte, ubyte, [1 x %struct..0anon] } |
| 5 | |
| 6 | implementation ; Functions: |
| 7 | |
| 8 | fastcc void %immed_double_const(int %i0, int %i1) { |
| 9 | entry: |
| 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 | |
| 16 | bb: ; preds = %entry, %entry |
| 17 | %tmp14 = setgt int 0, 31 ; <bool> [#uses=1] |
| 18 | br bool %tmp14, label %cond_next77, label %cond_next17 |
| 19 | |
| 20 | cond_next17: ; preds = %bb |
| 21 | ret void |
| 22 | |
| 23 | cond_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 | |
| 29 | bb88: ; preds = %cond_next77 |
| 30 | %bothcond2 = and bool false, %tmp84 ; <bool> [#uses=0] |
| 31 | ret void |
| 32 | |
| 33 | bb99: ; preds = %cond_next77 |
| 34 | ret void |
| 35 | |
| 36 | bb103: ; preds = %entry |
| 37 | ret void |
| 38 | } |