Open Quuxplusone opened 6 years ago
Bugzilla Link | PR35742 |
Status | NEW |
Importance | P enhancement |
Reported by | zheltonozhskiy@gmail.com |
Reported on | 2017-12-24 16:06:44 -0800 |
Last modified on | 2019-09-10 08:51:09 -0700 |
Version | trunk |
Hardware | PC Linux |
CC | llvm-bugs@lists.llvm.org, llvm-dev@redking.me.uk, zamazan4ik@tut.by |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
For the example:
double f(double a)
{
return exp(log(a)) ;
}
clang(trunk) with '-O3 -march=native -ffast-math' generates the optimal code
(same as gcc).
Case with
double f2(double a, double b)
{
return log(ex) ;
}
is still valid and require additional work comparing to GCC.