aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 96b49f4..603ae7a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-SRC=main.c io.c mem.c c.c lex.c type.c targ.c eval.c ir.c irdump.c intrin.c abi0.c regalloc.c amd64/sysv.c amd64/isel.c amd64/emit.c obj.c elf.c
+SRC=main.c io.c mem.c c.c lex.c type.c targ.c eval.c ir.c irdump.c ssa.c intrin.c abi0.c \
+ optmem.c regalloc.c amd64/sysv.c amd64/isel.c amd64/emit.c obj.c elf.c
CFLAGS=-Wall -std=c11 -pedantic
OBJ=$(patsubst %.c,obj/%.o,$(SRC))
DEP=$(OBJ:.o=.d)