patch applied (ghc): Symbolic tags for simplifier phases

Roman Leshchinskiy rl at cse.unsw.edu.au
Sun Feb 10 23:08:00 EST 2008


Sun Feb 10 19:23:50 PST 2008  Roman Leshchinskiy <rl at cse.unsw.edu.au>
  * Symbolic tags for simplifier phases
  
  Every simplifier phase can have an arbitrary number of tags and multiple
  phases can share the same tags. The tags can be used as arguments to
  -ddump-simpl-phases to specify which phases are to be dumped.
  For instance, -ddump-simpl-phases=main will dump the output of phases 2, 1 and
  0 of the initial simplifier run (they all share the "main" tag) while
  -ddump-simpl-phases=main:0 will dump only the output of phase 0 of that run.
  
  At the moment, the supported tags are:
  
    main                 The main, staged simplifier run (before strictness)
    post-worker-wrapper  After the w/w split
    post-liberate-case   After LiberateCase
    final                Final clean-up run
  
  The names are somewhat arbitrary and will change in the future.

    M ./compiler/main/DynFlags.hs -19 +22
    M ./compiler/simplCore/SimplCore.lhs -3 +6
    M ./compiler/simplCore/SimplUtils.lhs -10 +10



More information about the Cvs-ghc mailing list