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

cranelift: Resolve CLIF aliases before lowering #8606

Merged
merged 1 commit into from
May 15, 2024

Conversation

jameysharp
Copy link
Contributor

The egraph pass was already doing this, when it ran, and it never adds any aliases. So do it slightly earlier and unconditionally, and avoid needing to resolve any aliases during lowering.

The egraph pass was already doing this, when it ran, and it never adds
any aliases. So do it slightly earlier and unconditionally, and avoid
needing to resolve any aliases during lowering.
@jameysharp jameysharp requested a review from a team as a code owner May 13, 2024 05:00
@jameysharp jameysharp requested review from elliottt and removed request for a team May 13, 2024 05:00
@github-actions github-actions bot added cranelift Issues related to the Cranelift code generator cranelift:area:machinst Issues related to instruction selection and the new MachInst backend. labels May 13, 2024
Copy link
Member

@elliottt elliottt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me! I interpreted the title of the PR as meaning we would remove aliases later in the pipeline, so I was slightly confused by both the removal from the egraphs pass, and the addition to optimize. However, the description cleared my questions up :)

@jameysharp jameysharp added this pull request to the merge queue May 15, 2024
Merged via the queue into bytecodealliance:main with commit c477424 May 15, 2024
22 checks passed
@jameysharp jameysharp deleted the no-lowering-aliases branch May 15, 2024 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift:area:machinst Issues related to instruction selection and the new MachInst backend. cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants