[libc-commits] [libc] [libc][math] fix header spec bug (PR #101273)
Job Henandez Lara via libc-commits
libc-commits at lists.llvm.org
Tue Jul 30 18:14:43 PDT 2024
https://github.com/Jobhdez created https://github.com/llvm/llvm-project/pull/101273
None
>From 4a61a424fa6ab148d5ea187a542462faeaa05c23 Mon Sep 17 00:00:00 2001
From: Job Hernandez <hj93 at protonmail.com>
Date: Tue, 30 Jul 2024 18:13:33 -0700
Subject: [PATCH] fix bug
---
libc/spec/stdc.td | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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