-
Notifications
You must be signed in to change notification settings - Fork 550
Open
Labels
-Zdump-mirDebug flag: MIR dumpDebug flag: MIR dumpA-MIRArea: mid-level intermediate representation (MIR)Area: mid-level intermediate representation (MIR)A-contributor-devexArea: contributor developer experienceArea: contributor developer experienceA-mir-optArea: MIR optimizationsArea: MIR optimizationsC-enhancementCategory: enhancementCategory: enhancementE-mediumDifficulty: might require some prior knowledge or code readingDifficulty: might require some prior knowledge or code readingT-compilerRelevant to compiler teamRelevant to compiler team
Description
rustc +nightly -Zdump-mir=<val> -Zmir-opt-level=3
-Z dump-mir=val -- dump MIR state to file.
`val` is used to select which passes and functions to dump. For example:
`all` matches all passes and functions,
`foo` matches all passes for functions whose name contains 'foo',
`foo & ConstProp` only the 'ConstProp' pass for function names containing 'foo',
`foo | bar` all passes for function names containing 'foo' or 'bar'.
Metadata
Metadata
Assignees
Labels
-Zdump-mirDebug flag: MIR dumpDebug flag: MIR dumpA-MIRArea: mid-level intermediate representation (MIR)Area: mid-level intermediate representation (MIR)A-contributor-devexArea: contributor developer experienceArea: contributor developer experienceA-mir-optArea: MIR optimizationsArea: MIR optimizationsC-enhancementCategory: enhancementCategory: enhancementE-mediumDifficulty: might require some prior knowledge or code readingDifficulty: might require some prior knowledge or code readingT-compilerRelevant to compiler teamRelevant to compiler team