gallivm: don't use vector selects with llvm 3.7
authorRoland Scheidegger <sroland@vmware.com>
Sat, 16 Apr 2016 21:26:46 +0000 (23:26 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Sun, 17 Apr 2016 22:23:34 +0000 (00:23 +0200)
commitd11111a5510815afb73f3a863330ddf51d5021df
treecda31cc2df972d562ff61cba98e6d7074ab8a699
parentb3616f13268ac3d4202b175de087bdad2e592173
gallivm: don't use vector selects with llvm 3.7

llvm 3.7 sometimes simply miscompiles vector selects.
See https://bugs.freedesktop.org/show_bug.cgi?id=94972

This was fixed in llvm r249669
(https://llvm.org/bugs/show_bug.cgi?id=24532).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_logic.c