diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-07 22:11:43 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:33 -0400 |
commit | a1b3e82dc9290b604151fed3682618bc09fca9cc (patch) | |
tree | 999ee363a73790a983dc51e1f5f5299178456b19 /lisc/test/spill2.ssa | |
parent | 87ab8941edb69a84979068fe74718f8a12b43262 (diff) | |
download | roux-a1b3e82dc9290b604151fed3682618bc09fca9cc.tar.gz |
turn test files in one function definition
Diffstat (limited to 'lisc/test/spill2.ssa')
-rw-r--r-- | lisc/test/spill2.ssa | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisc/test/spill2.ssa b/lisc/test/spill2.ssa index b312295..75bfe07 100644 --- a/lisc/test/spill2.ssa +++ b/lisc/test/spill2.ssa @@ -4,11 +4,12 @@ # run with NReg == 3, or # adapt it! -@start +function $test { + @start %a =w copy 0 %b =w copy 0 -@loop + @loop %c =w phi @start 0, @loop %f %d =w phi @start 0, @loop %g %e =w phi @start 0, @loop %h @@ -17,6 +18,7 @@ %h =w add %e, %d %x =w csle %a, %b jnz %x, @loop, @end -@end - ret + @end + ret +} |