Add notes to cmm-notes, following conversation with John Dias
authorsimonpj@microsoft.com <unknown>
Thu, 5 Nov 2009 16:55:46 +0000 (16:55 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 5 Nov 2009 16:55:46 +0000 (16:55 +0000)
compiler/cmm/cmm-notes

index 5ec4895..2fab86f 100644 (file)
@@ -2,6 +2,21 @@ Notes on new codegen (Sept 09)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
 \r
 Things to do:\r
+ - Refactor Cmm so that it contains only shared stuff\r
+   Add a module MoribundCmm which contains stuff from\r
+   Cmm for old code gen path\r
+\r
+ - Question: currently we lift procpoints to become separate\r
+   CmmProcs.  Do we still want to do this?\r
+    \r
+   NB: and advantage of continuing to do this is that\r
+   we can do common-proc elimination!\r
+\r
+ - Move to new Cmm rep:\r
+     * Make native CG consume New Cmm; \r
+     * Convert Old Cmm->New Cmm to keep old path alive\r
+     * Produce New Cmm when reading in .cmm files\r
+\r
  - Consider module names\r
 \r
  - Top-level SRT threading is a bit ugly\r