Displaying 2 results from an estimated 2 matches for "7dbde9ca".
2016 Apr 04
2
RFC: Constant folding math functions for long double
..._____________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160404/7dbde9ca/attachment.html>
2016 Apr 04
9
RFC: Constant folding math functions for long double
Hi,
Clang is currently unable to constant fold calls to math.h functions such
as logl(), expl() etc.
The problem is that APFloat doesn't have these functions, so Clang is
forced to rely on the host math library. Because long double isn't
portable, we only ever query the host math library for double or float
results.
I can see three methods for allowing constant folding for types that