Stream: git-wasmtime

Topic: wasmtime / PR #12732 [Cranelift] (x|y) ^ (x|~y) => ~x


view this post on Zulip Wasmtime GitHub notifications bot (Mar 05 2026 at 04:41):

myunbin opened PR #12732 from myunbin:bitops-xor_or_or_not to bytecodealliance:main:

<!--
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
-->

This PR adds a Cranelift bitops simplification rule:

(x|y) ^ (x|~y) => ~x

view this post on Zulip Wasmtime GitHub notifications bot (Mar 05 2026 at 04:41):

myunbin requested cfallin for a review on PR #12732.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 05 2026 at 04:41):

myunbin requested wasmtime-compiler-reviewers for a review on PR #12732.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 05 2026 at 07:55):

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

view this post on Zulip Wasmtime GitHub notifications bot (Mar 05 2026 at 07:55):

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

view this post on Zulip Wasmtime GitHub notifications bot (Mar 05 2026 at 07:56):

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

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 (Mar 05 2026 at 20:36):

cfallin submitted PR review:

Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Mar 05 2026 at 20:37):

cfallin commented on PR #12732:

This has merge conflicts @myunbin -- happy to merge once those are fixed.

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

myunbin updated PR #12732.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2026 at 01:48):

myunbin closed without merge PR #12732.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2026 at 01:48):

myunbin commented on PR #12732:

#12738 replaces #12730, #12732, and #12734, which caused conflicts as they modify the same file.
Since #12738 already includes all rewrite rules from those three PRs and has been merged, I will close this PR.

Thanks!


Last updated: Mar 23 2026 at 16:19 UTC