summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/cmm/cmm-notes15
1 files changed, 15 insertions, 0 deletions
diff --git a/compiler/cmm/cmm-notes b/compiler/cmm/cmm-notes
index 5ec489571f..2fab86fd6d 100644
--- a/compiler/cmm/cmm-notes
+++ b/compiler/cmm/cmm-notes
@@ -2,6 +2,21 @@ Notes on new codegen (Sept 09)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Things to do:
+ - Refactor Cmm so that it contains only shared stuff
+ Add a module MoribundCmm which contains stuff from
+ Cmm for old code gen path
+
+ - Question: currently we lift procpoints to become separate
+ CmmProcs. Do we still want to do this?
+
+ NB: and advantage of continuing to do this is that
+ we can do common-proc elimination!
+
+ - Move to new Cmm rep:
+ * Make native CG consume New Cmm;
+ * Convert Old Cmm->New Cmm to keep old path alive
+ * Produce New Cmm when reading in .cmm files
+
- Consider module names
- Top-level SRT threading is a bit ugly