swr/rast: fix intrinsic/function for LLVM 7 compatibility
authorAlok Hota <alok.hota@intel.com>
Wed, 19 Sep 2018 17:42:57 +0000 (12:42 -0500)
committerAlok Hota <alok.hota@intel.com>
Thu, 25 Oct 2018 15:32:27 +0000 (10:32 -0500)
commit8c872ac2e39affb2df3586a596e44a029535949d
tree9d9e60ec1852403805af1a6dd3d139c1e4af23c8
parent26ed0f02347e5b6f119ac51b87231dcebd42d546
swr/rast: fix intrinsic/function for LLVM 7 compatibility

Converted from x86 VFMADDPS intrinsic to generic LLVM intrinsic, and
removed createInstructionSimplifierPass, which were both removed in LLVM
7.0.0

These changes combine patches we received from the community and our own
internal patches

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
Tested-by: Chuck Atkins <chuck.atkins@kitware.com>
src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py
src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
src/gallium/drivers/swr/rasterizer/jitter/functionpasses/lower_x86.cpp
src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp