aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-20 19:11:15 +0200
committerlemon <lsof@mailbox.org>2023-06-20 19:11:15 +0200
commit8cea6c2e91641b06921b4e358c73c60981ba366d (patch)
tree060198058427b9272f2167abd5b36580cd917ef7 /common.h
parent3abdb713474bd282b9ce322abf7ec3609af2eb12 (diff)
add basic mem2reg
promotes uniform stack slots to temporaries currently only for immutable variables, next thing to implement is ssa construction
Diffstat (limited to 'common.h')
-rw-r--r--common.h1
1 files changed, 1 insertions, 0 deletions
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 */
};