mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 02:34:48 +00:00
More interesting testcase
llvm-svn: 809
This commit is contained in:
parent
54bfbca17f
commit
fcc8c249da
@ -4,12 +4,19 @@
|
||||
|
||||
%AConst = constant int 123
|
||||
|
||||
constant int 412
|
||||
|
||||
implementation
|
||||
|
||||
int "foo"(int %blah)
|
||||
begin
|
||||
store int %blah, int *%MyVar
|
||||
store int 12, { \2 *, int } * %MyIntList, ubyte 1
|
||||
|
||||
;%ack = load int * %0 ;; Load from the unnamed constant
|
||||
;%fzo = add int %ack, %blah
|
||||
;ret int %fzo
|
||||
ret int %blah
|
||||
end
|
||||
|
||||
declare void "unimp"(float, double)
|
||||
|
Loading…
x
Reference in New Issue
Block a user