[GHC] #11717: Way to dump cmm only once
GHC
ghc-devs at haskell.org
Sun Jul 17 07:53:33 UTC 2016
#11717: Way to dump cmm only once
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner: tvv
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
(CodeGen) |
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2393
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"1ba79fa4d0e13e61a805fa458bcf2e690710d88b/ghc" 1ba79fa/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="1ba79fa4d0e13e61a805fa458bcf2e690710d88b"
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
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11717#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list