Skip to content

Way to dump cmm only once

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.

Trac metadata
Trac field Value
Version 8.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (CodeGen)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information