summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2012-05-15 05:10:26 -0700
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-05-15 23:48:24 +0100
commit563489e5c922481a9a506fc5405a3dacacd6082e (patch)
treef9d474b28f2afea141292ec8714cc56ed9e9d249 /src/gallium/auxiliary
parent6335e0b0738a6e466f0b712e30ad9fe506f67a6c (diff)
gallivm: Add MCRegisterInfo.h to silence benign warnings about missing implementation.
Trivial.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_debug.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 9cf20943339..444b70a678c 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -53,6 +53,9 @@
#include <llvm/MC/MCInst.h>
#include <llvm/MC/MCInstPrinter.h>
#endif /* HAVE_LLVM >= 0x0207 */
+#if HAVE_LLVM >= 0x0301
+#include <llvm/MC/MCRegisterInfo.h>
+#endif /* HAVE_LLVM >= 0x0301 */
#include "util/u_math.h"
#include "util/u_debug.h"