summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-16 10:41:01 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-16 10:41:01 -0400
commit7e1db6cc659dc701391639a40790645940a53879 (patch)
treefccb37cc1733e8a8c54800fc664704f9656311fe /lisc
parent1b2721500337d37f189c7e5d714c9c943062ea79 (diff)
downloadroux-7e1db6cc659dc701391639a40790645940a53879.tar.gz
test comparison elimination in isel
Diffstat (limited to 'lisc')
-rw-r--r--lisc/test/loop.ssa2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/test/loop.ssa b/lisc/test/loop.ssa
index 4877db9..c8c4ee0 100644
--- a/lisc/test/loop.ssa
+++ b/lisc/test/loop.ssa
@@ -7,8 +7,8 @@ function $test() {
 @loop
 	%s  =w phi @start   0, @loop %s1
 	%n  =w phi @start 100, @loop %n1
-	%n1 =w sub %n, 1
 	%s1 =w add %s, %n
+	%n1 =w sub %n, 1
 	jnz %n1, @loop, @end
 
 @end