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

wasm-reduce: Remove unused globals #6641

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

kripken
Copy link
Member

@kripken kripken commented Jun 4, 2024

Optimization passes may remove all unused globals, but sometimes a testcase
will need some globals to remain for the issue to keep happening, so also
remove them manually, like we do with functions etc.

Refactor out some code from ReorderGlobals in an NFC manner to help us.

Also remove some excessive logging in wasm-reduce.

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.

1 participant