1 ; The global symbol should be legalized
2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha
5 target pointersize = 64
6 %struct.LIST_HELP = type { %struct.LIST_HELP*, sbyte* }
7 %struct._IO_FILE = type { int, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, %struct._IO_marker*, %struct._IO_FILE*, int, int, long, ushort, sbyte, [1 x sbyte], sbyte*, long, sbyte*, sbyte*, int, [44 x sbyte] }
8 %struct._IO_marker = type { %struct._IO_marker*, %struct._IO_FILE*, int }
9 %clause_SORT = external global [21 x %struct.LIST_HELP*] ; <[21 x %struct.LIST_HELP*]*> [#uses=1]
10 %ia_in = external global %struct._IO_FILE* ; <%struct._IO_FILE**> [#uses=1]
11 %multvec_j = external global [100 x uint] ; <[100 x uint]*> [#uses=1]
13 implementation ; Functions:
15 void %main(int %argc) {
17 %tmp.5.i575 = load int* null ; <int> [#uses=1]
18 %tmp.309 = seteq int %tmp.5.i575, 0 ; <bool> [#uses=1]
19 br bool %tmp.309, label %UnifiedReturnBlock, label %then.17
21 then.17: ; preds = %clock_Init.exit
22 store %struct._IO_FILE* null, %struct._IO_FILE** %ia_in
23 %savedstack = call sbyte* %llvm.stacksave( ) ; <sbyte*> [#uses=0]
26 UnifiedReturnBlock: ; preds = %clock_Init.exit
30 declare sbyte* %llvm.stacksave()