Add support getting the operands of a User to ocaml.
[oota-llvm.git] / test / Analysis / BasicAA / 2003-07-03-BasicAACrash.ll
index 916b52341cfcfb725014966eb8770b987c625340..3e813fa2ca1845cafd6dc61684c68cb876b88eb3 100644 (file)
@@ -1,12 +1,10 @@
-; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output
+; RUN: opt < %s -basicaa -aa-eval -disable-output 2>/dev/null
 
-       %struct..RefPoint = type { int, { uint, ushort, ushort } }
-       %struct..RefRect = type { %struct..RefPoint, %struct..RefPoint }
+%struct..RefPoint = type { i32, { i32, i8, i8 } }
+%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
+define i32 @BMT_CommitPartDrawObj() {
+       %tmp.19111 = getelementptr %struct..RefRect* null, i64 0, i32 0, i32 1, i32 2
+       %tmp.20311 = getelementptr %struct..RefRect* null, i64 0, i32 1, i32 1, i32 2
+       ret i32 0
 }