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

[sc-540] Use hvm-core eta-reduction pass #247

Merged
merged 2 commits into from
Apr 1, 2024

Conversation

imaqtkatt
Copy link
Contributor

No description provided.

@imaqtkatt imaqtkatt requested a review from developedby April 1, 2024 13:43
@imaqtkatt imaqtkatt self-assigned this Apr 1, 2024
Copy link

This pull request has been linked to Shortcut Story #540: Use hvm-core eta-reduction pass.

Copy link
Member

Choose a reason for hiding this comment

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

Why did you remove these two files? Isn't the test still valid?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For a moment I thought these files were just testing the lambda-level desugaring because the new results maintained some references, the eta pass should be called after the pre-reduce I think

Copy link
Member

Choose a reason for hiding this comment

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

We could do eta -> inline -> pre-reduce -> eta. Eta reduction and inlining before will make pre-reduction a bit faster.

@imaqtkatt imaqtkatt force-pushed the feature/sc-540/use-hvm-core-eta-reduction-pass branch from 6cf9594 to 3126eba Compare April 1, 2024 14:29
@imaqtkatt imaqtkatt requested a review from developedby April 1, 2024 14:32
@imaqtkatt imaqtkatt added this pull request to the merge queue Apr 1, 2024
Merged via the queue into main with commit 1a6281a Apr 1, 2024
5 checks passed
@imaqtkatt imaqtkatt deleted the feature/sc-540/use-hvm-core-eta-reduction-pass branch April 1, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants