diff options
author | Jan Vesely <jan.vesely@rutgers.edu> | 2019-03-13 07:06:08 +0000 |
---|---|---|
committer | Jan Vesely <jan.vesely@rutgers.edu> | 2019-03-13 07:06:08 +0000 |
commit | 1c395b74bf6d7328a34ddf7633d647bc705c9e06 (patch) | |
tree | 4ec86257d17aaa5d396bc72cba4f1d1eae606ed3 /libclc/generic/include/clc | |
parent | b3d64e4a83e0de4f2ac1d498637432cf29c1c6a5 (diff) | |
download | bcm5719-llvm-1c395b74bf6d7328a34ddf7633d647bc705c9e06.tar.gz bcm5719-llvm-1c395b74bf6d7328a34ddf7633d647bc705c9e06.zip |
round: Remove llvm intrinsic from the header
Reviewer: Aaron Watry
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 356017
Diffstat (limited to 'libclc/generic/include/clc')
-rw-r--r-- | libclc/generic/include/clc/math/round.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libclc/generic/include/clc/math/round.h b/libclc/generic/include/clc/math/round.h index 43e16aed028..cd76e34d287 100644 --- a/libclc/generic/include/clc/math/round.h +++ b/libclc/generic/include/clc/math/round.h @@ -1,9 +1,7 @@ -#undef round -#define round __clc_round +#define __CLC_BODY <clc/math/unary_decl.inc> +#define __CLC_FUNCTION round -#define __CLC_FUNCTION __clc_round -#define __CLC_INTRINSIC "llvm.round" -#include <clc/math/unary_intrin.inc> +#include <clc/math/gentype.inc> +#undef __CLC_BODY #undef __CLC_FUNCTION -#undef __CLC_INTRINSIC |