Skip to content

enable ConstProp pass based on MIR opt level #98958

Closed
@zeevm

Description

@zeevm

ConstProp is currently always on, a leftover from when the pass was used for linting as well.

As the lint is now separated, ConstProp::is_enabled() should depend on opt level.

Metadata

Metadata

Assignees

Labels

A-mir-optArea: MIR optimizations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions