diff options
author | Jan Vesely <jan.vesely@rutgers.edu> | 2019-03-13 07:06:03 +0000 |
---|---|---|
committer | Jan Vesely <jan.vesely@rutgers.edu> | 2019-03-13 07:06:03 +0000 |
commit | fd199f013948d6d9304caefed4cfd35d6f1e18ca (patch) | |
tree | be5d5d4651dfe36cee212348b56a488f546eebe1 /libclc/generic/include | |
parent | fda15e56a637ba9c3743bee41f21646c42025036 (diff) | |
download | bcm5719-llvm-fd199f013948d6d9304caefed4cfd35d6f1e18ca.tar.gz bcm5719-llvm-fd199f013948d6d9304caefed4cfd35d6f1e18ca.zip |
floor: Remove llvm isntrinsic from the header.
Reviewer: Aaron Watry
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 356015
Diffstat (limited to 'libclc/generic/include')
-rw-r--r-- | libclc/generic/include/clc/math/floor.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libclc/generic/include/clc/math/floor.h b/libclc/generic/include/clc/math/floor.h index 2337d35caae..b4e96444a6a 100644 --- a/libclc/generic/include/clc/math/floor.h +++ b/libclc/generic/include/clc/math/floor.h @@ -1,6 +1,7 @@ -#undef floor -#define floor __clc_floor +#define __CLC_BODY <clc/math/unary_decl.inc> +#define __CLC_FUNCTION floor -#define __CLC_FUNCTION __clc_floor -#define __CLC_INTRINSIC "llvm.floor" -#include <clc/math/unary_intrin.inc> +#include <clc/math/gentype.inc> + +#undef __CLC_BODY +#undef __CLC_FUNCTION |