swr/rast: Fix include for createInstructionCombiningPass with llvm-7.0.
authorVinson Lee <vlee@freedesktop.org>
Sun, 29 Apr 2018 06:28:08 +0000 (23:28 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 5 May 2018 20:20:53 +0000 (13:20 -0700)
commitcd5319a64fb1a9b080521a03e08202e48aca448e
tree9126294e7064f3c0d5230ab080b8cfc72b6b5ec9
parent2f1ad72ac17268989d4033e8e3f9460c68eae462
swr/rast: Fix include for createInstructionCombiningPass with llvm-7.0.

Fix build error after llvm-7.0.0svn r330669 ("InstCombine: Fix layering
by not including Scalar.h in InstCombine").

  CXX      rasterizer/jitter/libmesaswr_la-blend_jit.lo
rasterizer/jitter/blend_jit.cpp:816:20: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createInstructionSimplifierPass'?
        passes.add(createInstructionCombiningPass());
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   createInstructionSimplifierPass

Suggested-by: George Kyriazis <george.kyriazis@intel.com>
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-By: George Kyriazis <george.kyriazis@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp