blob: 948687724f5d518777e14039383b9f11593fae60 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -globalopt -disable-output
2 %RPyString = type { int, %arraytype.Char }
3 %arraytype.Char = type { int, [0 x sbyte] }
4 %arraytype.Signed = type { int, [0 x int] }
5 %functiontype.1 = type %RPyString* (int)
6 %structtype.test = type { int, %arraytype.Signed }
7%structinstance.test = internal global { int, { int, [2 x int] } } { int 41, { int, [2 x int] } { int 2, [2 x int] [ int 100, int 101 ] } } ; <{ int, { int, [2 x int] } }*> [#uses=1]
8
9implementation ; Functions:
10
11fastcc void %pypy_array_constant() {
12block0:
13 %tmp.9 = getelementptr %structtype.test* cast ({ int, { int, [2 x int] } }* %structinstance.test to %structtype.test*), int 0, uint 0 ; <int*> [#uses=0]
14 ret void
15}
16
17fastcc void %new.varsizestruct.rpy_string() {
18 unreachable
19}
20
21void %__entrypoint__pypy_array_constant() {
22 call fastcc void %pypy_array_constant( )
23 ret void
24}
25
26void %__entrypoint__raised_LLVMException() {
27 ret void
28}