[libclc] libclc: Update lgamma_r (PR #188065)
Wenju He via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 24 00:39:28 PDT 2026
================
@@ -0,0 +1,21 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifdef __CLC_SCALAR
+
+typedef struct __CLC_XCONCAT(__clc_lgamma_r_ret_, __CLC_GENTYPE) {
+ __CLC_GENTYPE result;
+ __CLC_INTN sign;
+} __CLC_XCONCAT(__clc_lgamma_r_ret_, __CLC_GENTYPE);
+
+#define __CLC_LGAMMA_R_RET_GENTYPE \
----------------
wenju-he wrote:
it can be moved because macro is defer evaluated at use site where __CLC_GENTYPE is already defined
https://github.com/llvm/llvm-project/pull/188065
More information about the cfe-commits
mailing list