[cfe-commits] r97864 - in /cfe/trunk: include/clang/Basic/Builtins.def lib/CodeGen/CGBuiltin.cpp test/CodeGen/builtins.c

John McCall rjmccall at apple.com
Fri Mar 5 23:33:28 PST 2010


On Mar 5, 2010, at 6:17 PM, Eli Friedman wrote:
> Author: efriedma
> Date: Fri Mar  5 20:17:52 2010
> New Revision: 97864
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=97864&view=rev
> Log:
> PR6515: Implement __builtin_signbit and friends.
> 
> I'm reasonably sure my implementation is correct, but it would be nice if
> someone could double-check.

This should probably also be constant-evaluatable where possible;  the relevant code should be easy to find in ConstantExpr.cpp.

The implementation seems fine.  I, too, have no idea what to do with ppc_fp128.

John.



More information about the cfe-commits mailing list