blob: 36d983e18b38d94d1c36ea03b02ba4959dc0100a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \
; RUN: not grep {getelementptr.*getelementptr}
%struct.TUVVertex = type { short, short, short, short }
%struct.TTriangleItem = type { sbyte*, sbyte*, [3 x %struct.TUVVertex] }
%data_triangleItems = internal constant [2908 x %struct.TTriangleItem] zeroinitializer
void %foo() {
store short 0, short* getelementptr ([3 x %struct.TUVVertex]* getelementptr ([2908 x %struct.TTriangleItem]* %data_triangleItems, long 0, long 0, ubyte 2), long 0, long 0, ubyte 0)
ret void
}
|