gallivm: use getHostCPUFeatures on x86/llvm-4.0+.
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 31 Oct 2016 15:29:07 +0000 (10:29 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 5 Dec 2016 19:42:39 +0000 (13:42 -0600)
commitb035d9cab5a483f0ceee2d8fad578f64aca1888a
tree71414bd540536666d205b50bbe82a8d68c999ad4
parent48416b6f4d3ffa46168b8b4a46a262562cd7473a
gallivm: use getHostCPUFeatures on x86/llvm-4.0+.

Use llvm provided API based on cpuid rather than our own
manually mantained list of mattr enabling/disabling.

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