Skip to content

Tracking issue for ConstProp MIR opt #111509

Closed as not planned
Closed as not planned

Description

This issue tracks the regression in ConstProp due to #110719

Regressed optimizations:

  • array indexing;
  • non-scalar constants;
  • assignment of immutable statics;
  • creating rvalues with non-scalar types;
  • integer-to-pointer transmutes;
  • transmutes of scalar enums.

Remaining to do:

  • port const-prop-lint pass to this new implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlA-mir-optArea: MIR optimizations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions