aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-23 16:01:03 +0000
committerChris Lattner <sabre@nondot.org>2003-10-23 16:01:03 +0000
commit5139f2b5497be6ab2e64230fc185805831a8542b (patch)
treec56b7eebe4a708f7a4a6b52ae3fd026096fd9698
parent599dcb07f7d2d46c07258d9091bfab71f952df73 (diff)
Update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9414 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CBackend/2002-08-26-IndirectCallTest.ll4
-rw-r--r--test/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll4
-rw-r--r--test/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll2
3 files changed, 5 insertions, 5 deletions
diff --git a/test/CBackend/2002-08-26-IndirectCallTest.ll b/test/CBackend/2002-08-26-IndirectCallTest.ll
index 74f5075b75..c8eeb591b7 100644
--- a/test/CBackend/2002-08-26-IndirectCallTest.ll
+++ b/test/CBackend/2002-08-26-IndirectCallTest.ll
@@ -5,8 +5,8 @@
void %test(int %X) {
%Y = add int %X, -1 ; <int>:1 [#uses=3]
- %cast100 = cast int %Y to uint ; <uint> [#uses=1]
- %gep100 = getelementptr int** %taskArray, uint %cast100 ; <int**> [#uses=1]
+ %cast100 = cast int %Y to long ; <uint> [#uses=1]
+ %gep100 = getelementptr int** %taskArray, long %cast100 ; <int**> [#uses=1]
%fooPtr = load int** %gep100 ; <int*> [#uses=1]
%cast101 = cast int* %fooPtr to void (int)* ; <void (int)*> [#uses=1]
call void %cast101( int 1000 )
diff --git a/test/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll b/test/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll
index 74f5075b75..c8eeb591b7 100644
--- a/test/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll
+++ b/test/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll
@@ -5,8 +5,8 @@
void %test(int %X) {
%Y = add int %X, -1 ; <int>:1 [#uses=3]
- %cast100 = cast int %Y to uint ; <uint> [#uses=1]
- %gep100 = getelementptr int** %taskArray, uint %cast100 ; <int**> [#uses=1]
+ %cast100 = cast int %Y to long ; <uint> [#uses=1]
+ %gep100 = getelementptr int** %taskArray, long %cast100 ; <int**> [#uses=1]
%fooPtr = load int** %gep100 ; <int*> [#uses=1]
%cast101 = cast int* %fooPtr to void (int)* ; <void (int)*> [#uses=1]
call void %cast101( int 1000 )
diff --git a/test/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll b/test/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll
index a45a3e5cf4..9c27d84992 100644
--- a/test/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll
+++ b/test/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep declare
+; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | grep declare
declare void %test(...)