[libc-commits] [libc] [libc][math][c23] Add entrypoints and tests for setpayload{, f, f128} (PR #101122)

via libc-commits libc-commits at lists.llvm.org
Tue Jul 30 10:10:24 PDT 2024


================
@@ -731,8 +731,8 @@ def StdC : StandardSpec<"stdc"> {
 
           GuardedFunctionSpec<"getpayloadf16", RetValSpec<Float16Type>, [ArgSpec<Float16Ptr>], "LIBC_TYPES_HAS_FLOAT16">,
 	  
-          GuardedFunctionSpec<"setpayload", RetValSpec<IntType>, [ArgSpec<DoublePtr>, ArgSpec<DoubleType>],
-          GuardedFunctionSpec<"setpayloadf", RetValSpec<IntType>, [ArgSpec<FloatPtr>, ArgSpec<FloatType>],
+          FunctionSpec<"setpayload", RetValSpec<IntType>, [ArgSpec<DoublePtr>, ArgSpec<DoubleType>],
+          FunctionSpec<"setpayloadf", RetValSpec<IntType>, [ArgSpec<FloatPtr>, ArgSpec<FloatType>],
----------------
overmighty wrote:

Thanks, I didn't catch that.

https://github.com/llvm/llvm-project/pull/101122


More information about the libc-commits mailing list