popcount: Provide function implementation rather than intrinsic redirect
authorJan Vesely <jan.vesely@rutgers.edu>
Thu, 8 Mar 2018 18:58:00 +0000 (18:58 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Thu, 8 Mar 2018 18:58:00 +0000 (18:58 +0000)
commit17e8679493734b07aa764a9ec7cf040da35388e0
tree38dc4b62075b587b70ecc74b7e751b83dba5e23f
parent7b66ef10364d20acfa83934e04a04b2f799a0396
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
libclc/generic/include/clc/integer/popcount.h
libclc/generic/include/clc/integer/unary.inc [new file with mode: 0644]
libclc/generic/include/integer/popcount.h [new file with mode: 0644]
libclc/generic/include/integer/unary_intrin.inc [moved from libclc/generic/include/clc/integer/unary_intrin.inc with 100% similarity]
libclc/generic/lib/SOURCES
libclc/generic/lib/clc_unary.inc [new file with mode: 0644]
libclc/generic/lib/integer/popcount.cl [new file with mode: 0644]