summaryrefslogtreecommitdiff
path: root/compiler/cmm
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2009-11-05 16:55:46 +0000
committersimonpj@microsoft.com <unknown>2009-11-05 16:55:46 +0000
commit545cdeb52fc4feea3fa9668706e05ad75041f8b0 (patch)
tree72337f39092216f5dd9e7694a7fd37bda7998b6a /compiler/cmm
parentdf8b00e014ad8280354dd3fab6e6df0a52377627 (diff)
downloadhaskell-545cdeb52fc4feea3fa9668706e05ad75041f8b0.tar.gz
Add notes to cmm-notes, following conversation with John Dias
Diffstat (limited to 'compiler/cmm')
-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