gallivm: Add MCRegisterInfo.h to silence benign warnings about missing implementation.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 15 May 2012 12:10:26 +0000 (05:10 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 15 May 2012 22:48:24 +0000 (23:48 +0100)
Trivial.

src/gallium/auxiliary/gallivm/lp_bld_debug.cpp

index 9cf20943339141abb6ea8770dcb9df12d6bb6bc4..444b70a678c7ff485200a230daa3757e4b40d43e 100644 (file)
@@ -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"