blob: 072a231b01ce34fd8088fa13df93a03f88aaaf0a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# test with NReg == 3
# there must be a spill
# happening on %c
#
# if you replace the sub
# by an add or comment
# the two marked lines
# there should be no
# spill
#
@start
%f = copy 0 # here
%b = copy 1
%c = copy 2
%a = sub %b, %c
%d = copy %b
%e = copy %f # and there
%g = copy %a
ret
|