Chris Lattner | d0abb7a | 2005-04-09 22:03:10 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc |
| 2 | %struct.TypHeader = type { uint, %struct.TypHeader**, [3 x sbyte], ubyte } |
| 3 | %.str_67 = external global [4 x sbyte] ; <[4 x sbyte]*> [#uses=1] |
| 4 | %.str_87 = external global [17 x sbyte] ; <[17 x sbyte]*> [#uses=1] |
| 5 | |
| 6 | implementation ; Functions: |
| 7 | |
| 8 | void %PrBinop() { |
| 9 | entry: |
| 10 | br bool false, label %cond_true, label %else.0 |
| 11 | |
| 12 | cond_true: ; preds = %entry |
| 13 | br label %else.0 |
| 14 | |
| 15 | else.0: |
| 16 | %tmp.167.1 = phi int [ cast ([17 x sbyte]* %.str_87 to int), %entry ], [ 0, %cond_true ] |
| 17 | call void %Pr( sbyte* getelementptr ([4 x sbyte]* %.str_67, int 0, int 0), int 0, int 0 ) |
| 18 | ret void |
| 19 | } |
| 20 | |
| 21 | declare void %Pr(sbyte*, int, int) |