alexcrichton requested cfallin for a review on PR #8167.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #8167.
alexcrichton opened PR #8167 from alexcrichton:vec-load-lane-from-memory to bytecodealliance:main:
Going through old PRs I stumbled across #2716 which is quite old at this point. Upon adding the tests to
mainI see that most of it is actually implemented except for load-lane-from-memory where the lane size is 8 or 16 bits. That requires explicitly opting-in withsinkable_load_exactso this PR now subsumes the tests of #2716 in addition to implementing this missing hole in lowerings.This refactoring shuffles around where definitions are located to more easily have access to
Valueto perform the relevant match. The genericvec_insert_lanehelper is now gone as well in lieu of direct matches oninsertlanelowerings.Closes #2716
<!--
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
-->
cfallin submitted PR review:
LGTM, nice!
cfallin submitted PR review:
LGTM, nice!
cfallin created PR review comment:
for other ... (lowerings?) -- missing comment line in code motion
alexcrichton updated PR #8167.
alexcrichton has enabled auto merge for PR #8167.
alexcrichton merged PR #8167.
Last updated: Dec 13 2025 at 19:03 UTC