aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll12
-rw-r--r--test/Transforms/BasicAA/2003-07-03-BasicAACrash.ll12
2 files changed, 24 insertions, 0 deletions
diff --git a/test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll b/test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll
new file mode 100644
index 0000000000..785759d0a3
--- /dev/null
+++ b/test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll
@@ -0,0 +1,12 @@
+; RUN: as < %s | opt -basicaa -aa-eval -disable-output
+
+ %struct..RefPoint = type { int, { uint, ushort, ushort } }
+ %struct..RefRect = type { %struct..RefPoint, %struct..RefPoint }
+
+implementation ; Functions:
+
+uint %BMT_CommitPartDrawObj() {
+ %tmp.19111 = getelementptr %struct..RefRect* null, long 0, ubyte 0, ubyte 1, ubyte 2
+ %tmp.20311 = getelementptr %struct..RefRect* null, long 0, ubyte 1, ubyte 1, ubyte 2
+ ret uint 0
+}
diff --git a/test/Transforms/BasicAA/2003-07-03-BasicAACrash.ll b/test/Transforms/BasicAA/2003-07-03-BasicAACrash.ll
new file mode 100644
index 0000000000..785759d0a3
--- /dev/null
+++ b/test/Transforms/BasicAA/2003-07-03-BasicAACrash.ll
@@ -0,0 +1,12 @@
+; RUN: as < %s | opt -basicaa -aa-eval -disable-output
+
+ %struct..RefPoint = type { int, { uint, ushort, ushort } }
+ %struct..RefRect = type { %struct..RefPoint, %struct..RefPoint }
+
+implementation ; Functions:
+
+uint %BMT_CommitPartDrawObj() {
+ %tmp.19111 = getelementptr %struct..RefRect* null, long 0, ubyte 0, ubyte 1, ubyte 2
+ %tmp.20311 = getelementptr %struct..RefRect* null, long 0, ubyte 1, ubyte 1, ubyte 2
+ ret uint 0
+}