projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e07881
)
gallivm: Fix include for LLVMAddPromoteMemoryToRegisterPass
author
Mike Lothian
<mike@fireburn.co.uk>
Sun, 1 Apr 2018 00:32:22 +0000
(
01:32
+0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 2 Apr 2018 18:27:29 +0000
(14:27 -0400)
Include llvm-c/Transforms/Utils.h with the newest LLVM 7
Signed-of-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/gallivm/lp_bld_init.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_init.c
b/src/gallium/auxiliary/gallivm/lp_bld_init.c
index
6ddc509
..
dae9d01
100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_init.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_init.c
@@
-40,6
+40,9
@@
#include <llvm-c/Analysis.h>
#include <llvm-c/Transforms/Scalar.h>
+#if HAVE_LLVM >= 0x0700
+#include <llvm-c/Transforms/Utils.h>
+#endif
#include <llvm-c/BitWriter.h>