aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/BinaryFormat/Magic.cpp
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2018-03-08 18:58:07 +0000
committerJan Vesely <jan.vesely@rutgers.edu>2018-03-08 18:58:07 +0000
commit04a46bf0a293711db41c26a2652def47d3123fdf (patch)
tree4b8bc0357abc334645d25f43283221c6478c9bd1 /llvm/lib/BinaryFormat/Magic.cpp
parent0883c4d3657e8abdfdaf90f49637d4f2b21bd9a1 (diff)
downloadllvm-04a46bf0a293711db41c26a2652def47d3123fdf.zip
llvm-04a46bf0a293711db41c26a2652def47d3123fdf.tar.gz
llvm-04a46bf0a293711db41c26a2652def47d3123fdf.tar.bz2
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
Diffstat (limited to 'llvm/lib/BinaryFormat/Magic.cpp')
0 files changed, 0 insertions, 0 deletions