radeon/llvm: use integer comparison for IF
authorVadim Girlin <vadimgirlin@gmail.com>
Mon, 7 May 2012 09:14:58 +0000 (13:14 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Mon, 7 May 2012 21:18:22 +0000 (01:18 +0400)
commit3a6a1cd75fc98895569a34d5d7dfdc9e90381691
treeef1c602f1d1a65f5dbef8be9a4f95d5bd0986f9e
parent2a88dfc521bff7255e27e2ef8efcd08f9db53747
radeon/llvm: use integer comparison for IF

Replacing "float equal to 1.0f" with "int not equal to 0".
This should help for further optimization of boolean computations.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c