summary refs log tree commit diff
path: root/src/test/_spill1.ssa
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-27 15:00:45 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-27 15:00:45 -0400
commit36635660b40573f6a0c19d50dfdd9277589030de (patch)
treea1b4463f7260462c314bd8d7cb35b3d199143f33 /src/test/_spill1.ssa
parentaad52241c88ad5327a8488c66dc906c8393c9c92 (diff)
downloadroux-36635660b40573f6a0c19d50dfdd9277589030de.tar.gz
extract tests out of src
Diffstat (limited to 'src/test/_spill1.ssa')
-rw-r--r--src/test/_spill1.ssa22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/_spill1.ssa b/src/test/_spill1.ssa
deleted file mode 100644
index df5e4c2..0000000
--- a/src/test/_spill1.ssa
+++ /dev/null
@@ -1,22 +0,0 @@
-# test with NReg == 3
-# there must be a spill
-# happening on %c
-#
-# if you replace the sub
-# by an add or comment
-# the two marked lines
-# there should be no
-# spill
-#
-
-function $test() {
-@start
-	%f =w copy 0      # here
-	%b =w copy 1
-	%c =w copy 2
-	%a =w sub %b, %c
-	%d =w copy %b
-	%e =w copy %f     # and there
-	%g =w copy %a
-	ret
-}