qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 476e54c5d5c2834171b38b7b7a831df3ee7cc3b2
parent afb46fe317fc7dc49aef5449dedc82435ee81f7f
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Sat, 11 Jul 2015 16:11:36 -0400

change example to hypothetical syntax

Diffstat:
Mlisc/test/loop.ssa | 9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git 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