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 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3