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 oficonst_*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:
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 cfallin for a review on PR #13063.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #13063.
alexcrichton requested wasmtime-core-reviewers for a review on PR #13063.
github-actions[bot] added the label cranelift on PR #13063.
github-actions[bot] added the label isle on PR #13063.
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:
- 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>
fitzgen submitted PR review.
fitzgen added PR #13063 Support vector types in iconst_{u,s} to the merge queue
fitzgen merged PR #13063.
fitzgen removed PR #13063 Support vector types in iconst_{u,s} from the merge queue
Last updated: May 03 2026 at 22:13 UTC