From 25f088e223b008281bea20c6d5f55c8bf97f7202 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 3 May 2003 03:08:54 +0000 Subject: [PATCH] Fix buggy tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5987 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CBackend/2002-08-19-ConstantExpr.ll | 2 +- test/CBackend/2002-08-19-HardConstantExpr.ll | 3 +-- test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll | 2 +- test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll | 3 +-- 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 dca476b1d2e..bbd34ec5217 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 cd2d1117ed6..b0dca8edd54 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) ; [#uses=1] -%arrayPtr5 = global int* getelementptr (int** %arrayPtr, uint 0, uint 5) ; [#uses=0] +%arrayPtr = global int* getelementptr ([2 x int]* %array, long 0, long 0) ; [#uses=1] diff --git a/test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll b/test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll index dca476b1d2e..bbd34ec5217 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 cd2d1117ed6..b0dca8edd54 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) ; [#uses=1] -%arrayPtr5 = global int* getelementptr (int** %arrayPtr, uint 0, uint 5) ; [#uses=0] +%arrayPtr = global int* getelementptr ([2 x int]* %array, long 0, long 0) ; [#uses=1] -- 2.40.0