timjrd opened PR #6967 from timjrd:fix-fuzz-iconst to bytecodealliance:main:
If this work has been discussed elsewhere:
#6965
Explain why this change is needed:
Since #6850, the immediate of
iconst.i32 -2is encoded inUnaryImm::immas0xffff_fffe, and not-2, despite being stored in a signed 64-bit integer. The fuzzing generator foriconsthas not been modified accordingly and is still encoding the previous example as-2. This PR fixes that.
timjrd requested elliottt for a review on PR #6967.
timjrd requested wasmtime-compiler-reviewers for a review on PR #6967.
afonso360 submitted PR review:
LGTM! Thanks!
afonso360 has enabled auto merge for PR #6967.
afonso360 merged PR #6967.
Last updated: Dec 13 2025 at 19:03 UTC