[GHC] #11717: Way to dump cmm only once

#11717: Way to dump cmm only once -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: feature | Status: new request | Priority: normal | Milestone: Component: Compiler | Version: 8.1 (CodeGen) | Keywords: newcomer | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The current way to dump Cmm output is `-ddump-cmm`, but that dumps Cmm repeatedly, of every stage, similar to `-ddump-verbose-core2core`. This is often confusing. I propose that `-ddump-cmm` dumps only the initial Cmm code, that the flag `-ddump-simpl-cmm` dumps the final Cmm code, and that `-ddump-verbose-cmm` dumps every stage. Shoudn’t be hard to do for a newcomer. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11717 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11717: Way to dump cmm only once -------------------------------------+------------------------------------- Reporter: nomeata | Owner: 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): Wiki Page: | -------------------------------------+------------------------------------- Comment (by nomeata): Also note that there currently seems to be a {{{ -ddump-opt-cmm Dump the results of C-- to C-- optimising passes }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11717#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11717: Way to dump cmm only once -------------------------------------+------------------------------------- Reporter: nomeata | Owner: 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): Wiki Page: | -------------------------------------+------------------------------------- Comment (by osa1): +1 I'm hoping to implement this soon. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11717#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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): Wiki Page: | -------------------------------------+------------------------------------- Changes (by tvv): * owner: => tvv -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11717#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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: | -------------------------------------+------------------------------------- Changes (by tvv): * differential: => Phab:D2393 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11717#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#11717: Way to dump cmm only once -------------------------------------+------------------------------------- Reporter: nomeata | Owner: tvv Type: feature request | Status: closed Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.1 (CodeGen) | Resolution: fixed | 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: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed * milestone: => 8.2.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11717#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC