diff options
-rw-r--r-- | lisc/test/loop.ssa | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lisc/test/loop.ssa b/lisc/test/loop.ssa index 37d9478..39d74e4 100644 --- a/lisc/test/loop.ssa +++ b/lisc/test/loop.ssa @@ -1,18 +1,13 @@ # simple looping program # sums all integers from 100 to 0 - @start - %n0 = copy 100 - %s0 = copy 0 @loop - %s = phi %s0, %s1 - %n = phi %n0, %n1 - + %s = phi @start 100, @loop %s1 + %n = phi @start 0, @loop %n1 %n1 = sub %n, 1 %s1 = add %s, %n - jez %n1, @end, @loop @end |