alexcrichton opened PR #10815 from alexcrichton:display-fixed-regs-as-their-value to bytecodealliance:main:
This commit updates the display implementation of instructions using fixed registers to use the current value of the register rather than the end-result that'll happen after register allocation. That should help ensure that if a virtual register is being used in an instruction that'll get printed instead of the fixed value that should pop out after regalloc. Disassembly shouldn't change though after register allocation because the value of the register should match the fixed encoding.
<!--
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 #10815.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #10815.
abrown submitted PR review.
abrown merged PR #10815.
Last updated: Jan 09 2026 at 13:15 UTC