jameshu15869 opened PR #12100 from claby2:milestone-11578 to bytecodealliance:main:
This optimizes the following:
a = select x, k1, k2
b = icmp eq a, k1to
b = x
We shouldn't trigger this optimization when k1 == k2 because constant propagation should optimize that case.
<!--
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
-->
jameshu15869 requested alexcrichton for a review on PR #12100.
jameshu15869 requested wasmtime-compiler-reviewers for a review on PR #12100.
jameshu15869 closed without merge PR #12100.
jameshu15869 commented on PR #12100:
Sorry for the notification - this PR was meant to go to our fork, not yet ready for review!
jameshu15869 edited a comment on PR #12100:
Sorry for the notification - this PR was meant to go to our fork, not yet ready for review!
I couldn't find the delete option but feel free to remove
Last updated: Dec 06 2025 at 07:03 UTC