diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-06-26 18:21:06 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-06-26 18:21:06 +0000 |
commit | cb133c932262acc2e98fd42e7873dc4e317e1094 (patch) | |
tree | c32c43fd6b07abae745e21e98e9cece4564a586f /libclc/generic/lib/integer | |
parent | fe23a30ef5febddf512d669e89e08f35a14872ee (diff) | |
download | bcm5719-llvm-cb133c932262acc2e98fd42e7873dc4e317e1094.tar.gz bcm5719-llvm-cb133c932262acc2e98fd42e7873dc4e317e1094.zip |
libclc: Move max builtin to shared/
Max(x,y) is available for all integer/floating types.
Patch by: Aaron Watry
llvm-svn: 184995
Diffstat (limited to 'libclc/generic/lib/integer')
-rw-r--r-- | libclc/generic/lib/integer/max.cl | 4 | ||||
-rw-r--r-- | libclc/generic/lib/integer/max.inc | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/libclc/generic/lib/integer/max.cl b/libclc/generic/lib/integer/max.cl deleted file mode 100644 index 89fec7c53d3..00000000000 --- a/libclc/generic/lib/integer/max.cl +++ /dev/null @@ -1,4 +0,0 @@ -#include <clc/clc.h> - -#define BODY <max.inc> -#include <clc/integer/gentype.inc> diff --git a/libclc/generic/lib/integer/max.inc b/libclc/generic/lib/integer/max.inc deleted file mode 100644 index 37409fc8a24..00000000000 --- a/libclc/generic/lib/integer/max.inc +++ /dev/null @@ -1,3 +0,0 @@ -_CLC_OVERLOAD _CLC_DEF GENTYPE max(GENTYPE a, GENTYPE b) { - return (a > b ? a : b); -} |