summaryrefslogtreecommitdiff
path: root/vaporize/tests/Factorial.opt.regalloc
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-14 02:36:20 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-14 02:36:20 -0600
commitbd59acec960bf9e2ad93f0d1caa11a65613ee168 (patch)
tree3ef38b63578eaaea2b8b8e929d00195e57ab8834 /vaporize/tests/Factorial.opt.regalloc
parentee60d3f9a32f75c628961f40a9bf4f1bf387ac06 (diff)
Add HW4 Test Files
Diffstat (limited to 'vaporize/tests/Factorial.opt.regalloc')
-rw-r--r--vaporize/tests/Factorial.opt.regalloc33
1 files changed, 33 insertions, 0 deletions
diff --git a/vaporize/tests/Factorial.opt.regalloc b/vaporize/tests/Factorial.opt.regalloc
new file mode 100644
index 0000000..21e46f5
--- /dev/null
+++ b/vaporize/tests/Factorial.opt.regalloc
@@ -0,0 +1,33 @@
+func Main
+ in 0, out 0, callee-saves 0, spills 0
+Live In:
+ t.0: 7
+Linear Range:
+ t.0: 6-7
+Allocation:
+ t.0: t0
+
+func Fac.ComputeFac
+ in 0, out 0, callee-saves 1, spills 0
+Live In:
+ this: 11-12 16-17
+ num: 11-12 16-18
+ t.0: 12
+ num_aux: 14 20
+ t.1: 17
+ t.2: 18
+Linear Range:
+ this: 10-17
+ num: 10-18 (cross call)
+ t.0: 11-12
+ num_aux: 13-20
+ t.1: 16-17
+ t.2: 17-18
+Allocation:
+ this: t0
+ num: s0
+ t.0: t1
+ num_aux: t1
+ t.1: t2
+ t.2: t2
+