From 8f140422eddb8746cca49120dc8b763d1409d737 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 16 Nov 2019 10:25:21 +0000 Subject: [PATCH] llvmpipe: drop LLVM < 3.4 support We don't support < 3.9 anymore, so this code is dead. Reviewed-by: Roland Scheidegger Signed-off-by: Eric Engestrom Tested-by: Marge Bot Part-of: --- src/gallium/drivers/llvmpipe/lp_jit.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_jit.c b/src/gallium/drivers/llvmpipe/lp_jit.c index f4339e4c5dc..00b6477f98c 100644 --- a/src/gallium/drivers/llvmpipe/lp_jit.c +++ b/src/gallium/drivers/llvmpipe/lp_jit.c @@ -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 } } -- 2.30.2