patch applied (ghc): Split out "Raw Cmm" dump to its own flag -ddump-raw-cmm

Simon Marlow marlowsd at gmail.com
Fri Mar 25 13:08:44 CET 2011


Tue Mar 22 08:16:52 PDT 2011  Edward Z. Yang <ezyang at mit.edu>
  * Split out "Raw Cmm" dump to its own flag -ddump-raw-cmm
  
  Previously, -ddump-cmmz was used to dump out the "Raw Cmm" right
  before it gets passed to the backends, as well as all of the
  intermediate phases in the new code generator.  Unfortunately,
  there are a lot of intermediate phases, which means -ddump-cmmz
  takes a very long time with -fnew-codegen for large programs,
  even if you're only interested in the final result.
  
  Here we split up -ddump-cmmz into -ddump-cmmz (now exclusively for
  the new code generator) and -ddump-raw-cmm (for both code generation
  paths.) The old flag was not documented in the manual, so hopefully
  not too many people will be surprised by this change.

    M ./compiler/main/DynFlags.hs +2
    M ./compiler/main/HscMain.lhs -1 +1

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110322151652-6a393-918a67000957d6ad7d122c128ce0cd977d77a0f6.gz



More information about the Cvs-ghc mailing list