1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-16 14:31:16 +00:00

More interesting testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-10-14 23:28:56 +00:00
parent c025fc1083
commit 784c52f614

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