llvm-project/llvm/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll

8 lines
374 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl
2003-06-02 10:13:02 +08:00
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, uint 1, uint 3 ; <long*> [#uses=0]
2003-06-02 10:13:02 +08:00
ret void
}