diff --git a/libclc/opencl/include/clc/opencl/math/frexp.h b/libclc/opencl/include/clc/opencl/math/frexp.h index a03aefbf6089..796acca1cb75 100644 --- a/libclc/opencl/include/clc/opencl/math/frexp.h +++ b/libclc/opencl/include/clc/opencl/math/frexp.h @@ -6,5 +6,8 @@ // //===----------------------------------------------------------------------===// -#define __CLC_BODY +#define __CLC_FUNCTION frexp +#define __CLC_BODY #include + +#undef __CLC_FUNCTION diff --git a/libclc/opencl/include/clc/opencl/math/frexp.inc b/libclc/opencl/include/clc/opencl/math/frexp.inc deleted file mode 100644 index 620db6063610..000000000000 --- a/libclc/opencl/include/clc/opencl/math/frexp.inc +++ /dev/null @@ -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);