myunbin opened PR #12734 from myunbin:bitops-or_not_not-dual to bytecodealliance:main:
This PR adds a Cranelift bitops simplification rule:
(~x) & (~y) -> ~(x | y)and its dual:
(~x) | (~y) -> ~(x & y)cc @bongjunj
myunbin requested fitzgen for a review on PR #12734.
myunbin requested wasmtime-compiler-reviewers for a review on PR #12734.
github-actions[bot] added the label cranelift on PR #12734.
github-actions[bot] added the label isle on PR #12734.
github-actions[bot] commented on PR #12734:
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:
- cfallin: isle
- fitzgen: isle
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
fitzgen submitted PR review:
Thanks!
fitzgen commented on PR #12734:
(Conflicts again)
myunbin closed without merge PR #12734.
myunbin commented on PR #12734:
#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