afonso360 edited PR #5857 from riscv64-fix-orn-regalloc
to main
:
:wave: Hey,
With
zbb
enabled we were optimizingbor
+bnot
into theorn
instruction. We were accidentally also enabling this operation for floats without first moving the float to an integer register. This caused a regalloc error since we can't use those instructions directly on floats.I've also tried to restrict the matches for some other rules that could probably suffer the same issue. Though the fuzzer hasn't complained about those yet.
elliottt submitted PR review.
afonso360 merged PR #5857.
Last updated: Nov 22 2024 at 16:03 UTC