gallivm: Never emit llvm.fmuladd on LLVM 3.3.
authorJose Fonseca <jfonseca@vmware.com>
Fri, 10 Jun 2016 14:42:55 +0000 (15:42 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Fri, 10 Jun 2016 15:17:04 +0000 (16:17 +0100)
commit2b4cee05715614acb9dd3823f5665199adcf97c2
tree8dba8564c6d15f7d5e92a2c95cd26cb9ca49d258
parent320d1191c61a0a82444605c12e5c4b2ee0b241eb
gallivm: Never emit llvm.fmuladd on LLVM 3.3.

Besides the old JIT bug, it seems the X86 backend on LLVM 3.3 doesn't
handle llvm.fmuladd and instead it fall backs to a C function.  Which in
turn causes a segfault on Windows.

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