Unverified Commit 5e7e0d60 authored by wanglei's avatar wanglei Committed by GitHub
Browse files

[LoongArch] Fix pattern for FNMSUB_{S/D} instructions (#73742)

```
when a=c=-0.0, b=0.0:
-(a * b + (-c)) = -0.0
-a * b + c = 0.0
(fneg (fma a, b (-c))) != (fma (fneg a), b ,c)
```

See https://reviews.llvm.org/D90901 for a similar discussion on X86.
parent d0c8d41e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment