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

