Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement translation from Monomorhpized AST to SSA IR #1119

Closed
1 task done
Tracked by #1376
kevaundray opened this issue Apr 7, 2023 · 0 comments
Closed
1 task done
Tracked by #1376

Implement translation from Monomorhpized AST to SSA IR #1119

kevaundray opened this issue Apr 7, 2023 · 0 comments
Labels
enhancement New feature or request refactor ssa

Comments

@kevaundray
Copy link
Contributor

Problem

This is known as ssa_gen in our current codebase, and convert the monomorphized AST into the IR defined in the SSA module.

This is a tracking issue and should be broken into multiple smaller tasks. One way to break this down is by instructions.

We ideally don't want to be doing any optimizations on the fly here, to make this pass very simple. This is the strategy that most compilers go with; a naive approach to convert it to SSA then apply optimizations.

Proposed solution

Implement this as a separate module in ssa_refactor

Alternatives considered

No response

Additional context

No response

Submission Checklist

  • Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor ssa
Projects
Archived in project
Development

No branches or pull requests

1 participant