Issue 107772
Summary Clang uses fneg+fadd to subtract 0.5 when Zfa is enabled.
Labels
Assignees
Reporter pirama-arumuga-nainar
    Reproducer is the [simplest possible code](https://godbolt.org/z/M3dosqM3v):

```
float foo(float x) {
    return x - 0.5f;
}
```

GCC does the expected thing.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to