Kmeakin opened PR #6201 from Kmeakin:fix-bitselect-to-minmax
to bytecodealliance:main
:
The rules rewriting bitselect to {u,s}{min,max} are only sound when selecting between vectors. When selecting between scalars, the result is
(x & 1) | y
ory
.Fixed by adding
multi_lane
precondition
Kmeakin requested jameysharp for a review on PR #6201.
Kmeakin requested wasmtime-compiler-reviewers for a review on PR #6201.
jameysharp submitted PR review.
cfallin submitted PR review.
jameysharp merged PR #6201.
Last updated: Nov 22 2024 at 16:03 UTC