Module: Mesa
Branch: master
Commit: 8f140422eddb8746cca49120dc8b763d1409d737
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f140422eddb8746cca49120dc8b763d1409d737

Author: Eric Engestrom <[email protected]>
Date:   Sat Nov 16 10:25:21 2019 +0000

llvmpipe: drop LLVM < 3.4 support

We don't support < 3.9 anymore, so this code is dead.

Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Tested-by: Marge Bot 
<https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2760>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2760>

---

 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
    }
 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to