From 8cea6c2e91641b06921b4e358c73c60981ba366d Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 20 Jun 2023 19:11:15 +0200 Subject: add basic mem2reg promotes uniform stack slots to temporaries currently only for immutable variables, next thing to implement is ssa construction --- common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common.h') diff --git a/common.h b/common.h index ec2c6d7..a1cc1f8 100644 --- a/common.h +++ b/common.h @@ -114,6 +114,7 @@ struct option { struct { bool p : 1, /* after parsing */ a : 1, /* after abi0 */ + m : 1, /* after mem */ i : 1, /* after isel */ r : 1; /* after regalloc */ }; -- cgit v1.2.3