1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Update test

llvm-svn: 9414
This commit is contained in:
Chris Lattner 2003-10-23 16:01:03 +00:00
parent 61aeebd42b
commit 806e1cac67
2 changed files with 3 additions and 3 deletions

View File

@ -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 )

View File

@ -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(...)