gallivm: Use vector selects on LLVM 3.3+.
authorJose Fonseca <jfonseca@vmware.com>
Thu, 31 Mar 2016 22:37:34 +0000 (23:37 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Fri, 1 Apr 2016 08:05:19 +0000 (09:05 +0100)
commitcdf7c6b83dad7eb6a7600af61403315b02dcf13f
tree3536cbe9c97e88d1a05fcde5f1a34b642852cc37
parentcd7d631c71bb1342a6607a193918ccb3289c0bbf
gallivm: Use vector selects on LLVM 3.3+.

This is an old patch I had around.

Vector selects seem to work well from LLVM 3.3.  Using them should
improve code quality, as it might make constant propagation pass more
effective.

Tested lp_test_*

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_logic.c