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

[WasmGC] Heap2Local: Optimize RefIs and RefTest #6705

Merged
merged 23 commits into from
Jul 11, 2024

Conversation

kripken
Copy link
Member

@kripken kripken commented Jun 26, 2024

No description provided.

@kripken kripken requested a review from tlively June 26, 2024 15:15
@kripken
Copy link
Member Author

kripken commented Jul 3, 2024

friendly ping @tlively

Comment on lines +774 to +776
// Remove the RefTest and leave only its reference child. If we kept it,
// we'd need to refinalize (as the input to the test changes, since the
// reference becomes a null, which has a different type).
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 also keep only the operands of other operations we currently drop, which would add the very least make the code more consistent and reduce the number of IR nodes in the output.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fair enough, looks like that would affect just RefEq. I can do that separately from this PR.

@kripken kripken merged commit e05f762 into WebAssembly:main Jul 11, 2024
13 checks passed
@kripken kripken deleted the heap2local.ref.is branch July 11, 2024 16:34
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