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:
parent
61aeebd42b
commit
806e1cac67
@ -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 )
|
||||
|
@ -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(...)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user