[Mesa-dev] [PATCH 2/2] gallivm: Disable workaround for PR12833 on LLVM 3.2+.
jfonseca at vmware.com
jfonseca at vmware.com
Wed May 14 07:20:56 PDT 2014
From: José Fonseca <jfonseca at vmware.com>
Fixed upstream.
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 4d63f9a..ec54776 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -484,11 +484,11 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
builder.setJITMemoryManager(MM);
ExecutionEngine *JIT;
-#if 0
+#if HAVE_LLVM >= 0x0302
JIT = builder.create();
#else
/*
- * Workaround http://llvm.org/bugs/show_bug.cgi?id=12833
+ * Workaround http://llvm.org/PR12833
*/
StringRef MArch = "";
StringRef MCPU = "";
--
1.9.1
More information about the mesa-dev
mailing list