Commit 391b0caf authored by Andreas Klebinger's avatar Andreas Klebinger Committed by Ben Gamari
Browse files

Explain why opt-cmm is not dumped by ddump-cmm-verbose.

We just update the docs to reflect the state of affairs.

opt-cmm is run by the NCG backend so not always run.
ddump-cmm-verbose only dumps passes of the cmm
pipeline so it's not included there. [skip-ci]

Test Plan: doc change

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

Differential Revision:
parent 5f06cf6b
......@@ -376,12 +376,14 @@ C-\\- representation
These flags dump various phases of GHC's C-\\- pipeline.
.. ghc-flag:: -ddump-cmm-verbose
:shortdesc: Show output from each C-\\- pipeline pass
:shortdesc: Show output from main C-\\- pipeline passes
:type: dynamic
Dump output from all C-\\- pipeline stages. In case of
Dump output from main C-\\- pipeline stages. In case of
``.cmm`` compilation this also dumps the result of
file parsing.
file parsing. Not included are passes run by
the chosen backend. Currently only the NCG backends runs
additional passes ( :ghc-flag:`-ddump-opt-cmm` ).
Cmm dumps don't include unreachable blocks since we print
blocks in reverse post-order.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment