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

9 lines
346 B
LLVM
Raw Normal View History

; RUN: opt < %s -scalarrepl
2003-06-02 10:13:02 +08:00
define void @main() {
%E = alloca { { i32, float, double, i64 }, { i32, float, double, i64 } } ; <{ { i32, float, double, i64 }, { i32, float, double, i64 } }*> [#uses=1]
%tmp.151 = getelementptr { { i32, float, double, i64 }, { i32, float, double, i64 } }* %E, i64 0, i32 1, i32 3 ; <i64*> [#uses=0]
2003-06-02 10:13:02 +08:00
ret void
}