Skip to content

Implement a MIR parser for testing purposes #91669

Closed
@fee1-dead

Description

@fee1-dead

As discussed in Zulip (archive), we'd want to be able to write tests where the input is MIR and not Rust to test soundness of certain MIR optimizations. This would require a MIR parser for internal usage only and test mir-opt with that. Codegen tests would probably benefit from this as well.

See also rust-lang/miri#196

Metadata

Metadata

Assignees

Labels

A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlA-mir-optArea: MIR optimizationsA-testsuiteArea: The testsuite used to check the correctness of rustcT-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