We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
unreachable
When I optimize the attached .wasm with the current main branch (9792f2c) using this invocation:
wasm-opt \ -g \ --all-features \ --closed-world \ --traps-never-happen \ --type-unfinalizing \ -Os \ --type-ssa \ --gufa \ -Os \ --type-merging \ -Os \ --type-finalizing \ test.wasm -o test.opt.wasm
The generated .wasm has 34 instruction sequences of drop; unreachable.
drop; unreachable
In those cases the drop instruction could be dropped.
drop
test.wasm.zip
The text was updated successfully, but these errors were encountered:
Thanks @osa1 , that was indeed a missed optimization. I opened #6719 to add it.
Sorry, something went wrong.
e93babc
Successfully merging a pull request may close this issue.
When I optimize the attached .wasm with the current main branch (9792f2c) using this invocation:
The generated .wasm has 34 instruction sequences of
drop; unreachable
.In those cases the
drop
instruction could be dropped.test.wasm.zip
The text was updated successfully, but these errors were encountered: