[cfe-commits] r51597 - /cfe/trunk/include/clang/AST/Builtins.def

Eli Friedman eli.friedman at gmail.com
Tue May 27 08:59:57 PDT 2008


Author: efriedma
Date: Tue May 27 10:59:57 2008
New Revision: 51597

URL: http://llvm.org/viewvc/llvm-project?rev=51597&view=rev
Log:
Add the copysign builtins; I ran into a program that wanted 
__builtin_copysign.


Modified:
    cfe/trunk/include/clang/AST/Builtins.def

Modified: cfe/trunk/include/clang/AST/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Builtins.def?rev=51597&r1=51596&r2=51597&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Builtins.def (original)
+++ cfe/trunk/include/clang/AST/Builtins.def Tue May 27 10:59:57 2008
@@ -62,6 +62,9 @@
 BUILTIN(__builtin_fabsf, "ff"  , "ncF")
 BUILTIN(__builtin_fabsl, "LdLd", "ncF")
 BUILTIN(__builtin_huge_val, "d", "nc")
+BUILTIN(__builtin_copysign, "ddd", "ncF")
+BUILTIN(__builtin_copysignf, "fff", "ncF")
+BUILTIN(__builtin_copysignl, "LdLdLd", "ncF")
 
 // FP Comparisons.
 BUILTIN(__builtin_isgreater     , "i.", "nc")





More information about the cfe-commits mailing list