gallivm: Never emit llvm.fmuladd on LLVM 3.3.

Graphics / Mesa 3D Graphics Library / Mesa - Jose Fonseca [vmware.com] - 10 June 2016 10:17 UTC

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.

2b4cee0 gallivm: Never emit llvm.fmuladd on LLVM 3.3.
src/gallium/auxiliary/gallivm/lp_bld_arit.c | 6 ++++++
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share