afonso360 requested wasmtime-compiler-reviewers for a review on PR #7491.
afonso360 opened PR #7491 from afonso360:riscv-isub-fix
to bytecodealliance:main
:
:wave: Hey,
This PR fixes a bug with #7480. Where we used
addi
instead ofisub
when either the LHS or RHS are constant. This is correct for the RHS rule, but not for LHS since the subtraction isn't commutative.
afonso360 requested elliottt for a review on PR #7491.
alexcrichton submitted PR review.
alexcrichton merged PR #7491.
Last updated: Nov 22 2024 at 16:03 UTC