alexcrichton opened PR #11562 from alexcrichton:fix-select-opt to bytecodealliance:main:
This commit fixes an accidental regression from #11526 detected on OSS-Fuzz. The
imm64constants created needed to be masked off to the type width to avoid having the upper bits set.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested fitzgen for a review on PR #11562.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #11562.
cfallin commented on PR #11562:
cc @mmcloughlin @avanhatt -- this one is kind of interesting: the initial contribution had a Crocus proof but because I guess the prelude used there wasn't modeling the upper-bits-zeroed constraint on
iconsts, this slipped through. More fuel on the fire of modeling IR constraints precisely!
cfallin submitted PR review:
might as well review while I'm here -- thanks for the fix!
github-actions[bot] commented on PR #11562:
Subscribe to Label Action
cc @cfallin, @fitzgen
<details>
This issue or pull request has been labeled: "cranelift", "fuzz-bug", "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>
alexcrichton merged PR #11562.
Last updated: Dec 06 2025 at 06:05 UTC