Stream: git-wasmtime

Topic: wasmtime / PR #10528 cranelift: ISLE wrapper for construc...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2025 at 23:43):

Gonzalosilvalde opened PR #10528 from Gonzalosilvalde:6038 to bytecodealliance:main:

<!--
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
-->

Description:

This pull request addresses issue #6038 by adding an ISLE wrapper for constructing constants. The goal is to allow mid-end optimization rules to generate constants generically without needing to know whether to use iconst, vconst, f32const, f64const, etc.

Changes:

Additional Notes:

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2025 at 23:43):

Gonzalosilvalde requested wasmtime-compiler-reviewers for a review on PR #10528.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2025 at 23:43):

Gonzalosilvalde requested abrown for a review on PR #10528.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2025 at 18:59):

cfallin commented on PR #10528:

@Gonzalosilvalde thanks for the PR!

In order to ensure this is tested and works for our lowerings, would you mind switching over at least a few existing uses of iconst/etc to use this instead? Looking at the issue(s) that spawned this might help to find cases to demonstrate it as well.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 07 2025 at 21:07):

efJerryYang commented on PR #10528:

Hi @Gonzalosilvalde , I noticed this PR has been quiet for a while.

Would you mind if I pick this up and continue the remaining testing work in a separate PR to help move it forward?

view this post on Zulip Wasmtime GitHub notifications bot (Oct 08 2025 at 07:13):

Gonzalosilvalde commented on PR #10528:

Hi @efJerryYang ,
Yeah, continue what remains without any problem


Last updated: Dec 06 2025 at 07:03 UTC