Stream: git-wasmtime

Topic: wasmtime / PR #13063 Support vector types in `iconst_{u,s}`


view this post on Zulip Wasmtime GitHub notifications bot (Apr 12 2026 at 23:58):

alexcrichton opened PR #13063 from alexcrichton:optimize-vectors to bytecodealliance:main:

This commit updates the iconst_{u,s} helpers to support vector types where previously they did not support them. The meaning of iconst_* with a vector type is to insert the specified constant value into all lanes of the vector type. This gets a large number of optimization rules that currently panic on vector types to "just work" and my hope is that these sorts of bugs will be less common as vector ops will be both optimizable and applicable to existing rules.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 12 2026 at 23:58):

alexcrichton requested cfallin for a review on PR #13063.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 12 2026 at 23:58):

alexcrichton requested wasmtime-compiler-reviewers for a review on PR #13063.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 12 2026 at 23:58):

alexcrichton requested wasmtime-core-reviewers for a review on PR #13063.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 05:34):

github-actions[bot] added the label cranelift on PR #13063.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 05:34):

github-actions[bot] added the label isle on PR #13063.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 05:35):

github-actions[bot] commented on PR #13063:

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:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 19:19):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 19:19):

fitzgen added PR #13063 Support vector types in iconst_{u,s} to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 20:37):

fitzgen merged PR #13063.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 20:37):

fitzgen removed PR #13063 Support vector types in iconst_{u,s} from the merge queue


Last updated: May 03 2026 at 22:13 UTC