<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Thank you!</div>
<div class=""><br class="">
</div>
Reviewed-By: George Kyriazis <<a href="mailto:george.kyriazis@intel.com" class="">george.kyriazis@intel.com</a>>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Apr 4, 2018, at 3:22 AM, Mike Lothian <<a href="mailto:mike@fireburn.co.uk" class="">mike@fireburn.co.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Include llvm/Transforms/Utils.h with the newest LLVM 7<br class="">
<br class="">
v2: Include with " " rather than < > (Vinson Lee)<br class="">
<br class="">
v3: Use LLVM_VERSION_MAJOR rather than HAVE_LLVM (George Kyriazis)<br class="">
<br class="">
Signed-of-by: Mike Lothian <<a href="mailto:mike@fireburn.co.uk" class="">mike@fireburn.co.uk</a>><br class="">
Tested-by: Vinson Lee <<a href="mailto:vlee@freedesktop.org" class="">vlee@freedesktop.org</a>><br class="">
---<br class="">
src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp | 3 +++<br class="">
1 file changed, 3 insertions(+)<br class="">
<br class="">
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp b/src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp<br class="">
index 031bced8a0..19f68c2bb6 100644<br class="">
--- a/src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp<br class="">
+++ b/src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp<br class="">
@@ -67,6 +67,9 @@ using PassManager = llvm::legacy::PassManager;<br class="">
#include "llvm/Support/DynamicLibrary.h"<br class="">
#include "llvm/Transforms/IPO.h"<br class="">
#include "llvm/Transforms/Scalar.h"<br class="">
+#if LLVM_VERSION_MAJOR >= 7<br class="">
+#include "llvm/Transforms/Utils.h"<br class="">
+#endif<br class="">
#include "llvm/Support/Host.h"<br class="">
#include "llvm/Support/DynamicLibrary.h"<br class="">
<br class="">
-- <br class="">
2.17.0<br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>