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
7 lines
140 B
Common Lisp
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>
|