diff options
| author | 2023-06-20 19:11:15 +0200 | |
|---|---|---|
| committer | 2023-06-20 19:11:15 +0200 | |
| commit | 8cea6c2e91641b06921b4e358c73c60981ba366d (patch) | |
| tree | 060198058427b9272f2167abd5b36580cd917ef7 /Makefile | |
| parent | 3abdb713474bd282b9ce322abf7ec3609af2eb12 (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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |