diff options
author | Aaron Watry <awatry@gmail.com> | 2017-09-09 02:23:54 +0000 |
---|---|---|
committer | Aaron Watry <awatry@gmail.com> | 2017-09-09 02:23:54 +0000 |
commit | 415a60f3035bdf36d2a93003995a50d8ef68eacb (patch) | |
tree | baa8fed5cd2c14c5dc543ac3d8f95c8e616cedb2 /llvm/lib/Transforms | |
parent | 628fbcae4cc5e7d6076e104ad56b89b929b6f9fd (diff) | |
download | bcm5719-llvm-415a60f3035bdf36d2a93003995a50d8ef68eacb.tar.gz bcm5719-llvm-415a60f3035bdf36d2a93003995a50d8ef68eacb.zip |
integer: Add popcount implementation using ctpop intrinsic
Also copy/modify the unary_intrin.inc from math/ to make the
intrinsic declaration somewhat reusable.
Passes CL CTS integer_ops/test_integer_ops popcount tests for CL 1.2
Tested-by on GCN 1.0 (Pitcairn)
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 312854
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions