summary refs log tree commit diff
path: root/lisc/test/cup.ssa
blob: 41886a5a67c578cbacd7f2bd4861889c0a851786 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# counts up from -1988 to 1991

function $test() {
@start
@loop
	%n0  =l phi @start -1988, @loop %n1
	%n1  =l add 1, %n0
	%cmp =l csle 1991, %n1
	jnz %cmp, @end, @loop
@end
	ret
}