Stream: git-wasmtime

Topic: wasmtime / PR #15258 Add Souper-synthesized mid-end ISLE ...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 00:11):

fitzgen opened PR #15258 from fitzgen:issue-5783-generalized-souper-opts to bytecodealliance:main:

Add a bunch of mid-end ISLE optimizations whose left-hand sides were harvested from spidermonkey.wasm, right-hand sides synthesized by Souper, and then some of them were additionally generalized by Hydra.

This skips the icmp-related rules from that issue, as they introduced redundant computations since they optimized away values that were reused elsewhere, and so they just became partially computed twice, and our egraph rewrites / extraction doesn't reason about reuse. (This redundancy resulted in some minor code pessimizations and slowdowns on Sightglass.)

No statistically significant changes on Sightglass.

Fixes #5783

WIP: drop icmp rules that pessimize shared shifts and masks

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.md

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 00:11):

fitzgen requested wasmtime-compiler-reviewers for a review on PR #15258.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 00:11):

fitzgen requested cfallin for a review on PR #15258.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 00:11):

fitzgen requested wasmtime-core-reviewers for a review on PR #15258.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 00:11):

fitzgen updated PR #15258.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 00:11):

fitzgen removed the review request for wasmtime-compiler-reviewers from PR #15258.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 00:12):

fitzgen edited PR #15258:

Add a bunch of mid-end ISLE optimizations whose left-hand sides were harvested from spidermonkey.wasm, right-hand sides synthesized by Souper, and then some of them were additionally generalized by Hydra.

This skips the icmp-related rules from that issue, as they introduced redundant computations since they optimized away values that were reused elsewhere, and so they just became partially computed twice, and our egraph rewrites / extraction doesn't reason about reuse. (This redundancy resulted in some minor code pessimizations and slowdowns on Sightglass.)

No statistically significant changes on Sightglass.

Fixes #5783

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 02:44):

github-actions[bot] added the label cranelift on PR #15258.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 02:44):

github-actions[bot] added the label isle on PR #15258.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 03:45):

github-actions[bot] commented on PR #15258:

Subscribe to Label Action

cc @avanhatt, @cfallin, @fitzgen, @mmcloughlin

<details>
This issue or pull request has been labeled: "cranelift", "isle"

Thus the following users have been cc'd because of the following labels:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2026 at 22:13):

:thumbs_up: cfallin submitted PR review:

Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2026 at 22:13):

cfallin added PR #15258 Add Souper-synthesized mid-end ISLE optimizations to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2026 at 22:35):

:check: cfallin merged PR #15258.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2026 at 22:35):

cfallin removed PR #15258 Add Souper-synthesized mid-end ISLE optimizations from the merge queue.


Last updated: Nov 19 2026 at 20:05 UTC