[libclc][NFC] Reuse inc file for OpenCL frexp decl

This commit is contained in:
Fraser Cormack
2025-05-21 10:19:27 +01:00
parent 1a08aa2680
commit 80913b44a4
2 changed files with 4 additions and 15 deletions

View File

@@ -6,5 +6,8 @@
//
//===----------------------------------------------------------------------===//
#define __CLC_BODY <clc/opencl/math/frexp.inc>
#define __CLC_FUNCTION frexp
#define __CLC_BODY <clc/math/unary_decl_with_int_ptr.inc>
#include <clc/math/gentype.inc>
#undef __CLC_FUNCTION

View File

@@ -1,14 +0,0 @@
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE frexp(__CLC_GENTYPE x,
global __CLC_INTN *iptr);
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE frexp(__CLC_GENTYPE x,
local __CLC_INTN *iptr);
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE frexp(__CLC_GENTYPE x,
private __CLC_INTN *iptr);