gallivm: Disable workaround for PR12833 on LLVM 3.2+.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 14 May 2014 11:55:50 +0000 (12:55 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 23 May 2014 10:37:47 +0000 (11:37 +0100)
Fixed upstream.

src/gallium/auxiliary/gallivm/lp_bld_misc.cpp

index d1cc9b67b6cfaf49bdf86361a8433a3585edafc6..38fbe1fc7e57223843ef8d65614d57d73c2ba324 100644 (file)
@@ -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 = "";