Mesa (master): st/clover: Adapt to TargetLibraryInfo.h move in LLVM SVN r226078
Michel Dänzer
daenzer at kemper.freedesktop.org
Thu Jan 15 06:09:39 UTC 2015
Module: Mesa
Branch: master
Commit: a6a75f1286e1a2e7a0fb856849802b40474c6336
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6a75f1286e1a2e7a0fb856849802b40474c6336
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Thu Jan 15 12:57:05 2015 +0900
st/clover: Adapt to TargetLibraryInfo.h move in LLVM SVN r226078
Trivial.
---
src/gallium/state_trackers/clover/llvm/invocation.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 5265d10..6cc07b2 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -56,7 +56,11 @@
#include <llvm/IR/DataLayout.h>
+#if HAVE_LLVM >= 0x0307
+#include <llvm/Analysis/TargetLibraryInfo.h>
+#else
#include <llvm/Target/TargetLibraryInfo.h>
+#endif
#include <llvm/Target/TargetMachine.h>
#include <llvm/Target/TargetOptions.h>
More information about the mesa-commit
mailing list