Issue 108695
Summary fdim(x, y) is not folded at the compilation time when (x, y) is constant
Labels new issue
Assignees
Reporter k-arrows
    Consider the following example.
https://godbolt.org/z/15Ef6W1Es
```c
#include <cmath>

double f1() { return std::fdim(-1.0, 0.0); }

double f2() { return std::fdim(0.0, 0.0); }

double f3() { return std::fdim(1.0, 0.0); }
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to