Home | History | Annotate | Download | only in Assembler
      1 ; RUN: llvm-as < %s | llvm-dis | \
      2 ; RUN:   not grep "getelementptr.*getelementptr"
      3 
      4 %struct.TTriangleItem = type { i8*, i8*, [3 x %struct.TUVVertex] }
      5 %struct.TUVVertex = type { i16, i16, i16, i16 }
      6 @data_triangleItems = internal constant [2908 x %struct.TTriangleItem] zeroinitializer; <[2908 x %struct.TTriangleItem]*> [#uses=2]
      7 
      8 define void @foo() {
      9         store i16 0, i16* getelementptr ([2908 x %struct.TTriangleItem]* @data_triangleItems, i64 0, i64 0, i32 2, i64 0, i32 0)
     10         ret void
     11 }
     12 
     13