forked from OSchip/llvm-project
parent
e6c611b990
commit
197ac9c525
|
@ -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…
Reference in New Issue