From bd59acec960bf9e2ad93f0d1caa11a65613ee168 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Sun, 14 Apr 2024 02:36:20 -0600 Subject: Add HW4 Test Files --- vaporize/tests/Factorial.opt.regalloc | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 vaporize/tests/Factorial.opt.regalloc (limited to 'vaporize/tests/Factorial.opt.regalloc') 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 + -- cgit v1.2.3