afonso360 opened PR #6317 from afonso360:riscv64-fix-select-icmp
to bytecodealliance:main
:
:wave: Hey,
This fixes #6312. We were accidentally selecting an optimized lowering when the icmp was i128bit.
gen_select_reg
lowers the comparison, but only looking at the bottom registers since it works withReg
's and notValueRegs
.I think this bug was also in part introduced by a rule that we have (in the RISC-V backend) that auto converts
ValueRegs
intoReg
silently.
afonso360 requested cfallin for a review on PR #6317.
afonso360 requested wasmtime-compiler-reviewers for a review on PR #6317.
cfallin submitted PR review:
Thanks!
cfallin has enabled auto merge for PR #6317.
jameysharp submitted PR review:
This looks exactly right, thank you!
cfallin merged PR #6317.
Last updated: Nov 22 2024 at 16:03 UTC