llvm.org GIT mirror llvm / 707f413
new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28142 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 14 years ago
1 changed file(s) with 33 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc
1
2 %struct.FILE = type { ubyte*, int, int, short, short, %struct.__sbuf, int, sbyte*, int (sbyte*)*, int (sbyte*, sbyte*, int)*, long (sbyte*, long, int)*, int (sbyte*, sbyte*, int)*, %struct.__sbuf, %struct.__sFILEX*, int, [3 x ubyte], [1 x ubyte], %struct.__sbuf, int, long }
3 %struct.SYMBOL_TABLE_ENTRY = type { [9 x sbyte], [9 x sbyte], int, int, uint, %struct.SYMBOL_TABLE_ENTRY* }
4 %struct.__sFILEX = type opaque
5 %struct.__sbuf = type { ubyte*, int }
6 %str14 = external global [6 x sbyte] ; <[6 x sbyte]*> [#uses=0]
7
8 implementation ; Functions:
9
10 declare void %fprintf(int, ...)
11
12 void %OUTPUT_TABLE(%struct.SYMBOL_TABLE_ENTRY* %SYM_TAB) {
13 entry:
14 %tmp11 = getelementptr %struct.SYMBOL_TABLE_ENTRY* %SYM_TAB, int 0, uint 1, int 0 ; [#uses=2]
15 %tmp.i = cast sbyte* %tmp11 to ubyte* ; [#uses=1]
16 br label %bb.i
17
18 bb.i: ; preds = %cond_next.i, %entry
19 %s1.0.i = phi ubyte* [ %tmp.i, %entry ], [ null, %cond_next.i ] ; [#uses=0]
20 br bool false, label %cond_true.i31, label %cond_next.i
21
22 cond_true.i31: ; preds = %bb.i
23 call void (int, ...)* %fprintf( int 0, sbyte* %tmp11, sbyte* null )
24 ret void
25
26 cond_next.i: ; preds = %bb.i
27 br bool false, label %bb.i, label %bb19.i
28
29 bb19.i: ; preds = %cond_next.i
30 ret void
31 }
32