aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-02 04:58:23 +0000
committerChris Lattner <sabre@nondot.org>2003-06-02 04:58:23 +0000
commit2e33430a0d256a3631b26602a54d7a20d62a9066 (patch)
tree1440084c4648cdb8534fc1376949065ad20aa1b5 /test
parentb417c795d2a8832b5edac321dc0d19eca7e3f2f5 (diff)
downloadexternal_llvm-2e33430a0d256a3631b26602a54d7a20d62a9066.zip
external_llvm-2e33430a0d256a3631b26602a54d7a20d62a9066.tar.gz
external_llvm-2e33430a0d256a3631b26602a54d7a20d62a9066.tar.bz2
New testcase, reduced from 300.twolf by bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Analysis/BasicAA/2003-06-01-AliasCrash.ll11
-rw-r--r--test/Transforms/BasicAA/2003-06-01-AliasCrash.ll11
2 files changed, 22 insertions, 0 deletions
diff --git a/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll b/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll
new file mode 100644
index 0000000..eba74ea
--- /dev/null
+++ b/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll
@@ -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
index 0000000..eba74ea
--- /dev/null
+++ b/test/Transforms/BasicAA/2003-06-01-AliasCrash.ll
@@ -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
+}