[libclc][NFC] Reuse inc file for OpenCL frexp decl
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user