ac: replace ac_build_kill with ac_build_kill_if_false
authorMarek Olšák <marek.olsak@amd.com>
Wed, 4 Oct 2017 02:51:39 +0000 (04:51 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 24 Oct 2017 12:56:34 +0000 (14:56 +0200)
commit1ff9e27cbdd1fe770f18e5316c6f32a867e39095
treea5b282c567496845ba6986e22e52ac046fa0cbcf
parentf0a2bbd1a4a0caf85d91469e61d01a126cfc2a36
ac: replace ac_build_kill with ac_build_kill_if_false

This will be a new LLVM intrinsic and will also work nicely with
llvm.amdgcn.wqm.vote.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h
src/amd/common/ac_nir_to_llvm.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_tgsi_alu.c