qbe

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

commit 0d5b5cefcba8e4ce7e3917628d367331968e7725
parent c334258427b3bcd08c32f83b6919a61fdb83322c
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Sun, 16 Aug 2015 17:40:02 -0400

swap a test in collatz

This is pretty stupid...  Since we rely on rpo only
for code output (and not a proper scheduler), I have
to be careful with the ordering of tests to get
cleaner code.

Diffstat:
Mlisc/test/collatz.ssa | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisc/test/collatz.ssa b/lisc/test/collatz.ssa @@ -15,8 +15,8 @@ @cloop %n0 =w phi @loop %n, @odd %n2, @even %n3 %c0 =w phi @loop 0, @odd %c1, @even %c1 - %is1 =w ceq %n0, 1 - jnz %is1, @endcl, @iter0 + %no1 =w cne %n0, 1 + jnz %no1, @iter0, @endcl @iter0 %ism =w cslt %n0, %n jnz %ism, @getmemo, @iter1