llvm-6502/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll
2003-09-16 15:29:54 +00:00

8 lines
361 B
LLVM

; RUN: llvm-as < %s | opt -scalarrepl
void %main() {
%E = alloca { { int, float, double, long }, { int, float, double, long } } ; <{ { int, float, double, long }, { int, float, double, long } }*> [#uses=1]
%tmp.151 = getelementptr { { int, float, double, long }, { int, float, double, long } }* %E, long 0, ubyte 1, ubyte 3 ; <long*> [#uses=0]
ret void
}