1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Feature/calltest.ll
Chris Lattner e6b9b382e2 Initial revision
llvm-svn: 2
2001-06-06 20:29:01 +00:00

17 lines
330 B
LLVM

implementation
; Bytecode gets a constant pool block, that constains:
; type plane: int(int)
int "main"(int %argc) ; TODO: , sbyte **argv, sbyte **envp)
begin
%retval = call int (int) %test(int %argc)
%two = add int %retval, %retval
ret int %two
end
int "test"(int %i0)
begin
ret int %i0
end