gallium/radeon: simplify if/else/endif blocks
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 28 Sep 2016 16:59:42 +0000 (18:59 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 4 Oct 2016 14:39:18 +0000 (16:39 +0200)
commitb0d50e157de1093ddc5b7a9939a04b17a669073d
treef72708f1e6e091bb826568055af70c024cda6ec6
parent89e9de2ea69c9b4c0022471d314c2a4aa6c89c7a
gallium/radeon: simplify if/else/endif blocks

In particular, we no longer emit an else block when there is no ELSE
instruction.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/radeon_llvm.h
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c