[libc-commits] [libc] 6aaf870 - [libc][math] fix header spec bug (#101273)

via libc-commits libc-commits at lists.llvm.org
Tue Jul 30 18:15:51 PDT 2024


Author: Job Henandez Lara
Date: 2024-07-30T21:15:48-04:00
New Revision: 6aaf87021eda13727bfee690652cbbb9d1b3cdb2

URL: https://github.com/llvm/llvm-project/commit/6aaf87021eda13727bfee690652cbbb9d1b3cdb2
DIFF: https://github.com/llvm/llvm-project/commit/6aaf87021eda13727bfee690652cbbb9d1b3cdb2.diff

LOG: [libc][math] fix header spec bug (#101273)

Added: 
    

Modified: 
    libc/spec/stdc.td

Removed: 
    


################################################################################
diff  --git a/libc/spec/stdc.td b/libc/spec/stdc.td
index 36cd36f8a5241..6aaf05ffd9f65 100644
--- a/libc/spec/stdc.td
+++ b/libc/spec/stdc.td
@@ -735,8 +735,8 @@ def StdC : StandardSpec<"stdc"> {
 
           GuardedFunctionSpec<"getpayloadf16", RetValSpec<Float16Type>, [ArgSpec<Float16Ptr>], "LIBC_TYPES_HAS_FLOAT16">,
 	  
-          FunctionSpec<"setpayload", RetValSpec<IntType>, [ArgSpec<DoublePtr>, ArgSpec<DoubleType>],
-          FunctionSpec<"setpayloadf", RetValSpec<IntType>, [ArgSpec<FloatPtr>, ArgSpec<FloatType>],
+          FunctionSpec<"setpayload", RetValSpec<IntType>, [ArgSpec<DoublePtr>, ArgSpec<DoubleType>]>,
+          FunctionSpec<"setpayloadf", RetValSpec<IntType>, [ArgSpec<FloatPtr>, ArgSpec<FloatType>]>,
           GuardedFunctionSpec<"setpayloadf16", RetValSpec<IntType>, [ArgSpec<Float16Ptr>, ArgSpec<Float16Type>], "LIBC_TYPES_HAS_FLOAT16">,
 	  GuardedFunctionSpec<"setpayloadf128", RetValSpec<IntType>, [ArgSpec<Float128Ptr>, ArgSpec<Float128Type>], "LIBC_TYPES_HAS_FLOAT128">,
 


        


More information about the libc-commits mailing list