Skip to content

-Zmir-enable-passes=+SimplifyCfg doesn't enable any passes and doesn't warn #150910

@saethlin

Description

@saethlin

We have a warning to detect trying to enable MIR optimizations that don't exist, but it doesn't seem to understand SimplifyCfg and SimplifyLocals, probably related to the way those passes are written using enums?

Metadata

Metadata

Assignees

Labels

A-mir-optArea: MIR optimizationsC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions