X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2Fcmm-notes;h=084590086cdedb6753773fdf20ebea0178c71122;hb=4e0c994eb1613c62e94069642d7acdb2e69b773b;hp=823fd0ae5eee8ad410dd0240d7d91b857bb81e76;hpb=014549aea8d61c36dbb498666779e600a6406d20;p=ghc-hetmet.git diff --git a/compiler/cmm/cmm-notes b/compiler/cmm/cmm-notes index 823fd0a..0845900 100644 --- a/compiler/cmm/cmm-notes +++ b/compiler/cmm/cmm-notes @@ -3,6 +3,13 @@ Notes on new codegen (Sept 09) Things to do: + - SDM (2010-02-26) can we remove the Foreign constructor from Convention? + Reason: we never generate code for a function with the Foreign + calling convention, and the code for calling foreign calls is generated + + - All dataflow analyses are in the FuelMonad, even though they + are guarnteed to consume no fuel. This seems silly + - CmmContFlowOpt.runCmmContFlowOptZs is not called! - Why is runCmmOpts called from HscMain? Seems too "high up". In fact HscMain calls (runCmmOpts cmmCfgOptsZ) which is what