Stream: git-wasmtime

Topic: wasmtime / PR #10579 Cranelift: egraphs: fix a few source...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2025 at 23:33):

cfallin opened PR #10579 from cfallin:fix-isle-2 to bytecodealliance:main:

This arrived as a fuzzbug [1] with some very interesting optimization behavior. The test case has sequences of (select _ x x) operators -- that is, conditional selects with both inputs the same -- that are chained together sequentially. A few aspects of the egraph framework and our optimization rules conspired to create exponential blowup:

This got worse with the recent change to canonicalize less (for simpler/cheaper compilation), hence the fuzzbug timeouts.

This PR includes a few fixes, all complementary to each other:

[1]: https://oss-fuzz.com/testcase-detail/4806924172591104

<!--
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 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 (Apr 14 2025 at 23:33):

cfallin requested fitzgen for a review on PR #10579.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2025 at 23:33):

cfallin requested wasmtime-compiler-reviewers for a review on PR #10579.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2025 at 23:33):

cfallin requested wasmtime-core-reviewers for a review on PR #10579.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 02:17):

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

Subscribe to Label Action

cc @cfallin, @fitzgen

<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 (Apr 15 2025 at 16:30):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 16:52):

fitzgen merged PR #10579.


Last updated: Dec 06 2025 at 06:05 UTC