amd/common: add i1 special case to ac_build_{inclusive,exclusive}_scan
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 20 Sep 2018 17:09:50 +0000 (19:09 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 19 Dec 2018 11:01:19 +0000 (12:01 +0100)
commit8efaffa8932d113e5d0c753286d368ae053132f1
tree9fca6c03aaa70e3dd0b8f17b6dad9663e89c74d2
parent300876a9a7f849a2b165360e19ec1708a342b68c
amd/common: add i1 special case to ac_build_{inclusive,exclusive}_scan

Allow for a unified but efficient treatment of adding a bitmask over a
wave or an entire threadgroup.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_llvm_build.c