mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
fix minor bug in sum.ssa
This commit is contained in:
parent
6e0c394047
commit
326bf160f4
@ -6,7 +6,7 @@ function w $sum(l %arr, w %num) {
|
||||
@loop
|
||||
%n1 =w phi @start %n0, @loop1 %n2
|
||||
%s0 =w phi @start 0, @loop1 %s1
|
||||
%c =w csle %n1, 0
|
||||
%c =w cslt %n1, 0
|
||||
jnz %c, @end, @loop1
|
||||
@loop1
|
||||
%idx0 =l extuw %num
|
||||
|
||||
Loading…
Reference in New Issue
Block a user