Stream: git-wasmtime

Topic: wasmtime / PR #12585 Cranelift/Wasmtime/Pulley/Debugging:...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 21:47):

cfallin opened PR #12585 from cfallin:pulley-little-endian-vecs-on-big-endian-when-debugging to bytecodealliance:main:

When running Pulley on an s390x (or other big-endian) host, and enabling guest-debugging instrumentationa very strange confluence of events occurs:

We were thus hitting an assert in Pulley codegen (the Cranelift backend) when encountering a VStore VCode instruction with a big-endian mode.

This PR makes two changes that avoid this issue:

Test will come as part of #12575 incorporating a
Pulley-with-guest-debugging test and running on s390x amongst our platforms.

<!--
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 (Feb 12 2026 at 21:47):

cfallin requested fitzgen for a review on PR #12585.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 21:47):

cfallin requested wasmtime-compiler-reviewers for a review on PR #12585.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 21:47):

cfallin requested wasmtime-core-reviewers for a review on PR #12585.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 21:48):

cfallin edited PR #12585:

When running Pulley on an s390x (or other big-endian) host, and enabling guest-debugging instrumentation, a very strange confluence of events occurs:

We were thus hitting an assert in Pulley codegen (the Cranelift backend) when encountering a VStore VCode instruction with a big-endian mode.

This PR makes two changes that avoid this issue:

Test will come as part of #12575 incorporating a
Pulley-with-guest-debugging test and running on s390x amongst our platforms.

<!--
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 (Feb 12 2026 at 21:48):

cfallin updated PR #12585.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 22:01):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 22:01):

fitzgen created PR review comment:

    }

    fn memflags_for_debug_slot_value_clif_ty(&self, ty: ir::Type) -> MemFlags {

view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 22:27):

cfallin updated PR #12585.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 22:27):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 22:27):

cfallin created PR review comment:

Fixed, thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 22:27):

cfallin has enabled auto merge for PR #12585.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 12 2026 at 22:35):

cfallin updated PR #12585.

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

cfallin added PR #12585 Cranelift/Wasmtime/Pulley/Debugging: use little-endian mode to spill/reload vectors in guest-debugging slot and ABI clobbers. to the merge queue

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

cfallin merged PR #12585.

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

cfallin removed PR #12585 Cranelift/Wasmtime/Pulley/Debugging: use little-endian mode to spill/reload vectors in guest-debugging slot and ABI clobbers. from the merge queue


Last updated: Feb 24 2026 at 04:36 UTC