diff options
author | Michel Dänzer <[email protected]> | 2015-01-15 12:57:05 +0900 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2015-01-15 12:57:05 +0900 |
commit | a6a75f1286e1a2e7a0fb856849802b40474c6336 (patch) | |
tree | 3fc611422a13480d7eeb4e7942f4c7a9999f26c3 /src/gallium/state_trackers | |
parent | 0a0d2c944372590721f5accc74d03789c1fa6098 (diff) |
st/clover: Adapt to TargetLibraryInfo.h move in LLVM SVN r226078
Trivial.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/invocation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 5265d10330d..6cc07b254a6 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> |