zpu: simple fn with stack slots compile
This bears some remote resemblance to what I'm after....
clang -ccc-host-triple zpu-none-none test3.c -S
int b;
int c;
void foo(void)
{
int d = b;
int e = c;
int f;
f = d + e;
c = f;
}
=>
.file "test3.c"
.text
.globl foo
.align 2
.type foo,@function
load b %r0
storestackslot %r0 12, %sp
load c %r0
storestackslot %r0 16, %sp
loadstackslot 12, %sp %r1
add %r0 %r1 %r0
storestackslot %r0 20, %sp
storereg %r0 c
$tmp0:
.size foo, ($tmp0)-foo
.type b,@object
.comm b,4,4
.type c,@object
.comm c,4,4