Skip to content

Add mir-opt-level information #517

Open
@spastorino

Description

@spastorino

Document how to dump mir with optimization by using mir-opt-level.

rustc +nightly -Zdump-mir=<val> -Zmir-opt-level=3

Metadata

Metadata

Assignees

No one assigned

    Labels

    -Zdump-mirDebug flag: MIR dump-Zmir-opt-levelDebug flag: MIR opt levelA-MIRArea: mid-level intermediate representation (MIR)A-mir-optArea: MIR optimizationsC-enhancementCategory: enhancementE-hardDifficulty: might require advanced knowledgeT-compilerRelevant to compiler team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions