ac: add ac_build_bit_count() helper
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 14 Sep 2018 10:52:32 +0000 (12:52 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 17 Sep 2018 13:18:20 +0000 (15:18 +0200)
commit371c35e5bb19989953e371be924fb0b908407c47
treec0d33f3af50eee06ca2fb1946dfed3bbe9ce3095
parentaec91514643c096ad98af9f36d7f33a74d103c7c
ac: add ac_build_bit_count() helper

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h
src/amd/common/ac_nir_to_llvm.c