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 -2
is encoded inUnaryImm::imm
as0xffff_fffe
, and not-2
, despite being stored in a signed 64-bit integer. The fuzzing generator foriconst
has 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 23 2024 at 12:05 UTC