-
Notifications
You must be signed in to change notification settings - Fork 758
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
Conversation
This reverts commit d36281b.
friendly ping @tlively |
// 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). |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
No description provided.