28 lines · plain
1; RUN: opt < %s -passes=globalopt -disable-output2 %RPyString = type { i32, %arraytype.Char }3 %arraytype.Char = type { i32, [0 x i8] }4 %arraytype.Signed = type { i32, [0 x i32] }5 %functiontype.1 = type { ptr} 6 %structtype.test = type { i32, %arraytype.Signed }7@structinstance.test = internal global { i32, { i32, [2 x i32] } } { i32 41, { i32, [2 x i32] } { i32 2, [2 x i32] [ i32 100, i32 101 ] } } ; <ptr> [#uses=1]8 9define fastcc void @pypy_array_constant() {10block0:11 %tmp.9 = getelementptr %structtype.test, ptr @structinstance.test, i32 0, i32 0 ; <ptr> [#uses=0]12 ret void13}14 15define fastcc void @new.varsizestruct.rpy_string() {16 unreachable17}18 19define void @__entrypoint__pypy_array_constant() {20 call fastcc void @pypy_array_constant( )21 ret void22}23 24define void @__entrypoint__raised_LLVMException() {25 ret void26}27 28