Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | amdgcn,popcount: Workaround broken llvm.ctpop intrinsic on some GCN ASICs | Jan Vesely | 2018-03-08 | 2 | -0/+23 |
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 |