Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ; 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 | |
| 9 | implementation ; Functions: |
| 10 | |
| 11 | fastcc void %pypy_array_constant() { |
| 12 | block0: |
| 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 | |
| 17 | fastcc void %new.varsizestruct.rpy_string() { |
| 18 | unreachable |
| 19 | } |
| 20 | |
| 21 | void %__entrypoint__pypy_array_constant() { |
| 22 | call fastcc void %pypy_array_constant( ) |
| 23 | ret void |
| 24 | } |
| 25 | |
| 26 | void %__entrypoint__raised_LLVMException() { |
| 27 | ret void |
| 28 | } |