Files
clang-p2996/libclc/amdgcn/lib/integer/popcount.cl
Jan Vesely 04a46bf0a2 amdgcn,popcount: Workaround broken llvm.ctpop intrinsic on some GCN ASICs
This is only really needed for VI+ ASICs. However, llvm would cast the value to
i32 for older asics anyway. The proper fix is in LLVM-7 (r326535).
Fixes CTS popcount on carrizo.

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

7 lines
140 B
Common Lisp

#include <clc/clc.h>
#include <utils.h>
#include <integer/popcount.h>
#define __CLC_BODY "popcount.inc"
#include <clc/integer/gentype.inc>