[commit: ghc] master: CodeGen: Way to dump cmm only once (#11717) (1ba79fa)

git at git.haskell.org git at git.haskell.org
Sun Jul 17 07:53:43 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1ba79fa4d0e13e61a805fa458bcf2e690710d88b/ghc

>---------------------------------------------------------------

commit 1ba79fa4d0e13e61a805fa458bcf2e690710d88b
Author: Vladimir Trubilov <vtrubiloff at gmail.com>
Date:   Sun Jul 17 00:13:22 2016 +0200

    CodeGen: Way to dump cmm only once (#11717)
    
    The `-ddump-cmm` put all stages of Cmm processing into one output.
    This patch changes its behavior and adds two more options to make
    Cmm dumping flexible.
    
    - `-ddump-cmm-from-stg` dumps only initial version of  Cmm right after
       STG->Cmm codegen
    - `-ddump-cmm` dumps the final result of the Cmm pipeline processing
    - `-ddump-cmm-verbose` dumps intermediate output of each Cmm pipeline
       step
    - `-ddump-cmm-proc` and `-ddump-cmm-caf` seems were lost. Now enabled
    
    Test Plan: ./validate
    
    Reviewers: thomie, simonmar, austin, bgamari
    
    Reviewed By: thomie, simonmar
    
    Subscribers: simonpj, thomie
    
    Differential Revision: https://phabricator.haskell.org/D2393
    
    GHC Trac Issues: #11717


>---------------------------------------------------------------

1ba79fa4d0e13e61a805fa458bcf2e690710d88b
 compiler/cmm/CmmParse.y                            |  4 +---
 compiler/cmm/CmmPipeline.hs                        | 27 +++++++++++-----------
 compiler/main/DynFlags.hs                          | 20 ++++++++++++----
 compiler/main/HscMain.hs                           | 15 ++++++------
 docs/users_guide/8.0.2-notes.rst                   | 11 +++++++++
 docs/users_guide/debugging.rst                     | 12 +++++++++-
 testsuite/tests/codeGen/should_compile/Makefile    |  4 ++--
 utils/mkUserGuidePart/Options/CompilerDebugging.hs | 10 +++++++-
 8 files changed, 71 insertions(+), 32 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 1ba79fa4d0e13e61a805fa458bcf2e690710d88b


More information about the ghc-commits mailing list