blob: c9d33d77f6d491c7d7b59d822883c4b7a6cb0ca3 [file] [log] [blame]
Andrew Lenharth1cdd5c62006-01-18 22:59:33 +00001; The global symbol should be legalized
2; RUN: llvm-as < %s | llc -march=alpha
3
4target endian = little
5target 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]
12
13implementation ; Functions:
14
15void %main(int %argc) {
16clock_Init.exit:
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
20
21then.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]
24 ret void
25
26UnifiedReturnBlock: ; preds = %clock_Init.exit
27 ret void
28}
29
30declare sbyte* %llvm.stacksave()