summary refs log tree commit diff
path: root/lisc/test
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-07-15 18:01:38 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:28 -0400
commitd7548fa5d7c6ab4adaff87619e9801d0bdb07b55 (patch)
tree1720934ebd2ac97584a55f3377126d3eab5d6ad8 /lisc/test
parent58bd1de2647d8a7acd0e8edb4ec2bfb9f99799a6 (diff)
downloadroux-d7548fa5d7c6ab4adaff87619e9801d0bdb07b55.tar.gz
add rpo test and some liveness code
Diffstat (limited to 'lisc/test')
-rw-r--r--lisc/test/rpo.ssa10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisc/test/rpo.ssa b/lisc/test/rpo.ssa
new file mode 100644
index 0000000..44d0056
--- /dev/null
+++ b/lisc/test/rpo.ssa
@@ -0,0 +1,10 @@
+@start
+	jmp @foo
+@baz
+	jez 1, @end, @foo
+@bar
+	jmp @end
+@foo
+	jez 0, @bar, @baz
+@end
+	ret