afonso360 opened 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.
Last updated: Dec 23 2024 at 12:05 UTC