New testcase, reduced from 300.twolf by bugpoint
authorChris Lattner <sabre@nondot.org>
Mon, 2 Jun 2003 04:58:23 +0000 (04:58 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 2 Jun 2003 04:58:23 +0000 (04:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6534 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/BasicAA/2003-06-01-AliasCrash.ll [new file with mode: 0644]
test/Transforms/BasicAA/2003-06-01-AliasCrash.ll [new file with mode: 0644]

diff --git a/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll b/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll
new file mode 100644 (file)
index 0000000..eba74ea
--- /dev/null
@@ -0,0 +1,11 @@
+; RUN: as < %s | opt -basicaa -aa-eval
+
+int %MTConcat([3 x int]* %a.1) {
+       %tmp.961 = getelementptr [3 x int]* %a.1, long 0, long 4
+       %tmp.97 = load int* %tmp.961
+       %tmp.119 = getelementptr [3 x int]* %a.1, long 1, long 0
+       %tmp.120 = load int* %tmp.119
+       %tmp.1541 = getelementptr [3 x int]* %a.1, long 0, long 4
+       %tmp.155 = load int* %tmp.1541
+       ret int 0
+}
diff --git a/test/Transforms/BasicAA/2003-06-01-AliasCrash.ll b/test/Transforms/BasicAA/2003-06-01-AliasCrash.ll
new file mode 100644 (file)
index 0000000..eba74ea
--- /dev/null
@@ -0,0 +1,11 @@
+; RUN: as < %s | opt -basicaa -aa-eval
+
+int %MTConcat([3 x int]* %a.1) {
+       %tmp.961 = getelementptr [3 x int]* %a.1, long 0, long 4
+       %tmp.97 = load int* %tmp.961
+       %tmp.119 = getelementptr [3 x int]* %a.1, long 1, long 0
+       %tmp.120 = load int* %tmp.119
+       %tmp.1541 = getelementptr [3 x int]* %a.1, long 0, long 4
+       %tmp.155 = load int* %tmp.1541
+       ret int 0
+}