gallivm: Reenable PPC VSX (v3)
authorBen Crocker <bcrocker@redhat.com>
Thu, 19 Jan 2017 01:44:09 +0000 (20:44 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 20 Feb 2017 18:21:22 +0000 (18:21 +0000)
commit3f1b6ef2aa9c99bebe539f1de5a5054d90fc5dc3
tree6bddfe0d14d744a87bed5d6038c90f7f33ce9264
parentb934aae36410e09892e772b26f61fed5d037fc69
gallivm: Reenable PPC VSX (v3)

Reenable the PPC64LE Vector-Scalar Extension for LLVM versions >= 3.8.1,
now that LLVM bug 26775 and its corollary, 25503, are fixed.

Amendment: remove extraneous spaces in macro def & invocations.

We would prefer a runtime check, e.g. via an LLVMQueryString
(analogous to glGetString, eglQueryString) or LLVMGetVersion API,
but no such API exists at this time.

Signed-off-by: Ben Crocker <bcrocker@redhat.com>
[Emil Velikov: remove LLVM_VERSION macro]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp