From d50cbf00e3b972c41ccda810ab5a8fce0ae2e7c2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 2 Jun 2003 02:13:02 +0000 Subject: [PATCH] Old testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6521 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll diff --git a/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll b/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll new file mode 100644 index 00000000000..42f6f8b89dd --- /dev/null +++ b/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll @@ -0,0 +1,7 @@ +; RUN: 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 ; [#uses=0] + ret void +}