OSDN Git Service

Update aosp/master llvm for rebase to r233350
[android-x86/external-llvm.git] / test / Analysis / BasicAA / 2003-07-03-BasicAACrash.ll
index 942fe9f..7aaae2a 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, uint 0, uint 1, uint 2
-       %tmp.20311 = getelementptr %struct..RefRect* null, long 0, uint 1, uint 1, uint 2
-       ret uint 0
+define i32 @BMT_CommitPartDrawObj() {
+       %tmp.19111 = getelementptr %struct..RefRect, %struct..RefRect* null, i64 0, i32 0, i32 1, i32 2
+       %tmp.20311 = getelementptr %struct..RefRect, %struct..RefRect* null, i64 0, i32 1, i32 1, i32 2
+       ret i32 0
 }