[libc-commits] [libc] d798d3b - [libc] Fix incorrect tablegen for lgamma

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue Aug 6 05:11:12 PDT 2024


Author: Joseph Huber
Date: 2024-08-06T07:11:05-05:00
New Revision: d798d3b65e018977d5478685e53af85117027874

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

LOG: [libc] Fix incorrect tablegen for lgamma

Added: 
    

Modified: 
    libc/spec/gnu_ext.td

Removed: 
    


################################################################################
diff  --git a/libc/spec/gnu_ext.td b/libc/spec/gnu_ext.td
index 46f1abf042ddf..b2a2b8af104d8 100644
--- a/libc/spec/gnu_ext.td
+++ b/libc/spec/gnu_ext.td
@@ -36,17 +36,17 @@ def GnuExtensions : StandardSpec<"GNUExtensions"> {
         FunctionSpec<
             "lgamma_r",
             RetValSpec<DoubleType>,
-            [ArgSpec<DoubleType, IntPtr>]
+            [ArgSpec<DoubleType>, ArgSpec<IntPtr>]
         >,
         FunctionSpec<
             "lgammaf_r",
             RetValSpec<FloatType>,
-            [ArgSpec<FloatType, IntPtr>]
+            [ArgSpec<FloatType>, ArgSpec<IntPtr>]
         >,
         FunctionSpec<
             "lgammal_r",
             RetValSpec<LongDoubleType>,
-            [ArgSpec<LongDoubleType, IntPtr>]
+            [ArgSpec<LongDoubleType>, ArgSpec<IntPtr>]
         >,
       ]
   >;


        


More information about the libc-commits mailing list