Jan Vesely 17e8679493 popcount: Provide function implementation rather than intrinsic redirect
amdgcn will need to override this

Reviewer: Aaron Watry <awatry@gmail.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 327042
2018-03-08 18:58:00 +00:00

9 lines
200 B
Common Lisp

#include <clc/clc.h>
#include <integer/popcount.h>
#define __CLC_FUNC popcount
#define __CLC_IMPL_FUNC __clc_native_popcount
#define __CLC_BODY "../clc_unary.inc"
#include <clc/integer/gentype.inc>