Files
clang-p2996/libclc/generic/include/clc/integer/popcount.h
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

6 lines
150 B
C

#define __CLC_FUNCTION popcount
#define __CLC_BODY <clc/integer/unary.inc>
#include <clc/integer/gentype.inc>
#undef __CLC_FUNCTION
#undef __CLC_BODY