st/clover: Adapt to TargetLibraryInfo.h move in LLVM SVN r226078
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 15 Jan 2015 03:57:05 +0000 (12:57 +0900)
committerMichel Dänzer <michel@daenzer.net>
Thu, 15 Jan 2015 03:57:05 +0000 (12:57 +0900)
Trivial.

src/gallium/state_trackers/clover/llvm/invocation.cpp

index 5265d10330d423a00729917e155a18964f1bf237..6cc07b254a61888dcb486d7af08567855692d140 100644 (file)
 
 
 #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>