Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Implement Const/Copy cleanup after MIR lowering #16

Closed
mrkmarron opened this issue Apr 18, 2019 · 0 comments · Fixed by #162
Closed

Implement Const/Copy cleanup after MIR lowering #16

mrkmarron opened this issue Apr 18, 2019 · 0 comments · Fixed by #162
Assignees
Labels
enhancement New feature or request

Comments

@mrkmarron
Copy link
Contributor

Currently the translation from the AST representation to the compiler MIR representation is pretty direct and leaves redundant constant and copy assignments. This is inefficient and makes it harder to understand the MIR code.

A simple block level copy/const propagation pass would help this out a lot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant