Mesa (master): llvmpipe: drop LLVM < 3.4 support

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 22 20:21:19 UTC 2020


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

Author: Eric Engestrom <eric.engestrom at intel.com>
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 <sroland at vmware.com>
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
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
    }
 }
 



More information about the mesa-commit mailing list