afonso360 opened PR #5504 from fix-5498 to main:
:wave: Hey,
When lowering
select+icmpwe have an optimization that allows us to avoid materializing theicmpresult.We were accidentally not masking out the high bits for i8 and i16 in this case.
Issue #5498 reported this as an illegal instruction but what was happening there, was that the invalid select caused a division by zero.
Fixes #5498
elliottt submitted PR review.
elliottt has enabled auto merge for PR #5504.
elliottt merged PR #5504.
Last updated: Dec 06 2025 at 06:05 UTC