From 7ff4c64c10e4a4c6acccdd8369f36f146139fbe5 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 12 Jun 2023 22:39:26 +0200 Subject: add todo.txt --- todo.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 todo.txt diff --git a/todo.txt b/todo.txt new file mode 100644 index 0000000..fdb7cf0 --- /dev/null +++ b/todo.txt @@ -0,0 +1,11 @@ +Things to finish before moving onto compiler optimizations, C extensions, other nice features + +- regalloc: fix phi-eliminating moves +- regalloc: implement spilling +- frontend: try to repr vars as ssa temps until they have their address taken or are mutated (to reduce no. of mem instrs)?? +- ir: implement mem2reg +- backend: implement ELF object output (ELF header, relocations, etc) +- backend: figure out how and when to lower intrinsincs (currently just structcopy..) +- frontend: finish C impl: initializers, preprocessor (#include, fn-like macros, etc), forward declarations, for, switch, break-continue, goto + +at some point add another backend like arm64 to make sure the non target specific stuff is generic enough.. -- cgit v1.2.3