From 7036e19098c295a075f97cbd056fdc43bd490fb2 Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 23 Dec 2025 11:36:51 +0100 Subject: lower alloca as a separate pass before isel --- ir/ir.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ir/ir.h') diff --git a/ir/ir.h b/ir/ir.h index dccca0c..4248016 100644 --- a/ir/ir.h +++ b/ir/ir.h @@ -62,6 +62,7 @@ enum refkind { RXCON, /* other constants (incl. external symbols) */ RADDR, /* target-specific addressing mode */ RTYPE, /* irtype */ + RSTACK, /* stack base offset */ }; union ref { @@ -325,6 +326,9 @@ void mem2reg(struct function *); /** intrin.c **/ void lowerintrin(struct function *); +/** stack.c **/ +void lowerstack(struct function *); + /** regalloc.c **/ void regalloc(struct function *); -- cgit v1.2.3