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 Winliner, the speculative indirect call inliner for WebAssembly #2

Merged
merged 13 commits into from
Oct 12, 2023

Conversation

fitzgen
Copy link
Owner

@fitzgen fitzgen commented Sep 19, 2023

…mbly

Revert "Delete everything so I can revert this commit and have a reviewable PR adding everything"

This reverts commit b878ea6.
Copy link
Collaborator

@cfallin cfallin left a comment

Choose a reason for hiding this comment

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

Looks really good overall -- nice work!

A bunch of comments below; the two correctness-relevant ones are the missing handling for Return we saw earlier, and a possible issue with name sections, I think.

Unfortunately I wasn't able to see any other issues that could lead to the crash (divergence of optimized code) with the module I sent you earlier -- it'd be nice to bottom that out before doing any releases and calling this done, though I don't want to hold the initial review on it. Happy to help pair-debug that one further if you want.

src/convert.rs Show resolved Hide resolved
src/convert.rs Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
src/bin/winliner.rs Show resolved Hide resolved
src/optimize.rs Outdated Show resolved Hide resolved
src/optimize.rs Outdated Show resolved Hide resolved
src/optimize.rs Outdated Show resolved Hide resolved
src/optimize.rs Show resolved Hide resolved
src/optimize.rs Show resolved Hide resolved
@fitzgen
Copy link
Owner Author

fitzgen commented Oct 12, 2023

Okay, I've either addressed everything or filed follow up issues, so I'm going to merge this!

@fitzgen fitzgen merged commit 30173fe into main Oct 12, 2023
7 checks passed
@fitzgen fitzgen deleted the review branch October 12, 2023 16:30
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.

None yet

2 participants