aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend
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 /test/CodeGen/CBackend
parent48196b38131b7961880d9ffa726f971241f6acc8 (diff)
downloadexternal_llvm-25f088e223b008281bea20c6d5f55c8bf97f7202.zip
external_llvm-25f088e223b008281bea20c6d5f55c8bf97f7202.tar.gz
external_llvm-25f088e223b008281bea20c6d5f55c8bf97f7202.tar.bz2
Fix buggy tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5987 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CBackend')
-rw-r--r--test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll2
-rw-r--r--test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll3
2 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll b/test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll
index dca476b..bbd34ec 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 cd2d111..b0dca8e 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]