aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-03 03:08:54 +0000
committerChris Lattner <sabre@nondot.org>2003-05-03 03:08:54 +0000
commit25f088e223b008281bea20c6d5f55c8bf97f7202 (patch)
tree1af9180ee0a8c3dccdc1f70487b1907cc1a315c6
parent48196b38131b7961880d9ffa726f971241f6acc8 (diff)
Fix buggy tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5987 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CBackend/2002-08-19-ConstantExpr.ll2
-rw-r--r--test/CBackend/2002-08-19-HardConstantExpr.ll3
-rw-r--r--test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll2
-rw-r--r--test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll3
4 files changed, 4 insertions, 6 deletions
diff --git a/test/CBackend/2002-08-19-ConstantExpr.ll b/test/CBackend/2002-08-19-ConstantExpr.ll
index dca476b1d2..bbd34ec521 100644
--- a/test/CBackend/2002-08-19-ConstantExpr.ll
+++ b/test/CBackend/2002-08-19-ConstantExpr.ll
@@ -3,5 +3,5 @@ global float* %0 ;; Duplicate forward numeric reference
global float 0.0
%array = constant [2 x int] [ int 12, int 52 ]
-%arrayPtr = global int* getelementptr ([2 x int]* %array, uint 0, uint 0) ;; int* &%array[0][0]
+%arrayPtr = global int* getelementptr ([2 x int]* %array, long 0, long 0) ;; int* &%array[0][0]
diff --git a/test/CBackend/2002-08-19-HardConstantExpr.ll b/test/CBackend/2002-08-19-HardConstantExpr.ll
index cd2d1117ed..b0dca8edd5 100644
--- a/test/CBackend/2002-08-19-HardConstantExpr.ll
+++ b/test/CBackend/2002-08-19-HardConstantExpr.ll
@@ -1,4 +1,3 @@
%array = constant [2 x int] [ int 12, int 52 ] ; <[2 x int]*> [#uses=1]
-%arrayPtr = global int* getelementptr ([2 x int]* %array, uint 0, uint 0) ; <int**> [#uses=1]
-%arrayPtr5 = global int* getelementptr (int** %arrayPtr, uint 0, uint 5) ; <int**> [#uses=0]
+%arrayPtr = global int* getelementptr ([2 x int]* %array, long 0, long 0) ; <int**> [#uses=1]
diff --git a/test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll b/test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll
index dca476b1d2..bbd34ec521 100644
--- a/test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll
+++ b/test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll
@@ -3,5 +3,5 @@ global float* %0 ;; Duplicate forward numeric reference
global float 0.0
%array = constant [2 x int] [ int 12, int 52 ]
-%arrayPtr = global int* getelementptr ([2 x int]* %array, uint 0, uint 0) ;; int* &%array[0][0]
+%arrayPtr = global int* getelementptr ([2 x int]* %array, long 0, long 0) ;; int* &%array[0][0]
diff --git a/test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll b/test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll
index cd2d1117ed..b0dca8edd5 100644
--- a/test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll
+++ b/test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll
@@ -1,4 +1,3 @@
%array = constant [2 x int] [ int 12, int 52 ] ; <[2 x int]*> [#uses=1]
-%arrayPtr = global int* getelementptr ([2 x int]* %array, uint 0, uint 0) ; <int**> [#uses=1]
-%arrayPtr5 = global int* getelementptr (int** %arrayPtr, uint 0, uint 5) ; <int**> [#uses=0]
+%arrayPtr = global int* getelementptr ([2 x int]* %array, long 0, long 0) ; <int**> [#uses=1]