enhance SRoA to promote allocas that are used by PHI nodes. This often
[oota-llvm.git] / test / Transforms / ScalarRepl / 2003-05-30-InvalidIndices.ll
1 ; RUN: opt < %s -scalarrepl
2
3 define void @main() {
4         %E = alloca { { i32, float, double, i64 }, { i32, float, double, i64 } }        ; <{ { i32, float, double, i64 }, { i32, float, double, i64 } }*> [#uses=1]
5         %tmp.151 = getelementptr { { i32, float, double, i64 }, { i32, float, double, i64 } }* %E, i64 0, i32 1, i32 3          ; <i64*> [#uses=0]
6         ret void
7 }
8