fix two bugs in isel
This commit is contained in:
parent
e5983ba1a2
commit
2482f4dbbb
5 changed files with 11 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
|||
# counts up
|
||||
# counts up from -1988 to 1991
|
||||
|
||||
@start
|
||||
@loop
|
||||
%n0 =w phi @start -1988, @loop %n1
|
||||
%n1 =w add 1, %n0
|
||||
%cmp =w csle 1990, %n1
|
||||
%cmp =w csle 1991, %n1
|
||||
jez %cmp, @loop, @end
|
||||
@end
|
||||
ret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue