blob: b53c86e59def2fc9e071277f9777c0e684db074f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# counts up from -1988 to 1991
export
function $test() {
@start
@loop
%n0 =l phi @start -1988, @loop %n1
%n1 =l add 1, %n0
%cmp =w cslel 1991, %n1
jnz %cmp, @end, @loop
@end
ret
}
# >>> driver
# extern void test(void);
# int main() { test(); return 0; }
# <<<
|