From 9fb8b66bb742ecdace257f2bdd10c4c5cd7f7310 Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 13 Sep 2025 19:06:36 +0200 Subject: regalloc: basic spilling support --- test/regpressure.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/regpressure.c (limited to 'test/regpressure.c') diff --git a/test/regpressure.c b/test/regpressure.c new file mode 100644 index 0000000..e39853d --- /dev/null +++ b/test/regpressure.c @@ -0,0 +1,8 @@ +int foo(int a, int b, int c, int d, int e, int f, int g) { + void bar(void); + bar(); + if (a>0) + f-=10*(g&f); + bar(); + return a + b + c + d + e + f + g; +} -- cgit v1.2.3