llvmpipe: drop LLVM < 3.4 support
[mesa.git] / src / gallium / drivers / llvmpipe / lp_jit.c
index f4339e4c5dc58c38807c0a339a481712613f9f10..00b6477f98ceb1e19789dd41061d331ff09dc510 100644 (file)
@@ -401,13 +401,9 @@ lp_jit_create_cs_types(struct lp_compute_shader_variant *lp)
    }
 
    if (gallivm_debug & GALLIVM_DEBUG_IR) {
-#if (LLVM_VERSION_MAJOR > 3 || (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 4))
       char *str = LLVMPrintModuleToString(gallivm->module);
       fprintf(stderr, "%s", str);
       LLVMDisposeMessage(str);
-#else
-      LLVMDumpModule(gallivm->module);
-#endif
    }
 }