swr: Fix include for createPromoteMemoryToRegisterPass
authorMike Lothian <mike@fireburn.co.uk>
Wed, 4 Apr 2018 08:22:54 +0000 (09:22 +0100)
committerVinson Lee <vlee@freedesktop.org>
Thu, 19 Apr 2018 07:39:04 +0000 (00:39 -0700)
commit79487c427ee2f82bc947ac1dffd6e2374efaa90f
treef3ef8df0a03c631863494311f22724aa0aab021c
parent2f63b3dd09cb516b83537504adf36a0227e3f874
swr: Fix include for createPromoteMemoryToRegisterPass

Include llvm/Transforms/Utils.h with the newest LLVM 7

v2: Include with " " rather than < > (Vinson Lee)

v3: Use LLVM_VERSION_MAJOR rather than HAVE_LLVM (George Kyriazis)

Signed-of-by: Mike Lothian <mike@fireburn.co.uk>
Tested-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-By: George Kyriazis <george.kyriazis@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp