summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/math/native_log.h
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2017-11-02 19:48:48 +0000
committerJan Vesely <jan.vesely@rutgers.edu>2017-11-02 19:48:48 +0000
commit25671b40d715a433900b87f9817b2c20eaf368ae (patch)
tree417b09503b5596c8dc4e3c8678f5a5795b805e61 /libclc/generic/include/clc/math/native_log.h
parentfd13434d839fef30dcae06101c8ec7563571597a (diff)
downloadbcm5719-llvm-25671b40d715a433900b87f9817b2c20eaf368ae.tar.gz
bcm5719-llvm-25671b40d715a433900b87f9817b2c20eaf368ae.zip
native_log: Use unary_decl instead of custom inc file
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-By: Aaron Watry <awatry@gmail.com> llvm-svn: 317253
Diffstat (limited to 'libclc/generic/include/clc/math/native_log.h')
-rw-r--r--libclc/generic/include/clc/math/native_log.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libclc/generic/include/clc/math/native_log.h b/libclc/generic/include/clc/math/native_log.h
index ed3398b9f9f..7ce23c7ecd6 100644
--- a/libclc/generic/include/clc/math/native_log.h
+++ b/libclc/generic/include/clc/math/native_log.h
@@ -20,8 +20,12 @@
* THE SOFTWARE.
*/
-#define __CLC_BODY <clc/math/native_log.inc>
+#define __CLC_BODY <clc/math/unary_decl.inc>
+#define __CLC_FUNCTION native_log
#define __FLOAT_ONLY
+
#include <clc/math/gentype.inc>
-#undef __CLC_BODY
+
#undef __FLOAT_ONLY
+#undef __CLC_BODY
+#undef __CLC_FUNCTION
OpenPOWER on IntegriCloud