Mesa (19.3): llvmpipe/ppc: fix if/ifdef confusion in backport.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 27 17:07:32 UTC 2019
Module: Mesa
Branch: 19.3
Commit: c694d3c5ca1f43dee26c2833fc5b509bcc2d29cb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c694d3c5ca1f43dee26c2833fc5b509bcc2d29cb
Author: Dave Airlie <airlied at redhat.com>
Date: Thu Nov 21 05:53:03 2019 +1000
llvmpipe/ppc: fix if/ifdef confusion in backport.
Fixes: 32aba91c07f (llvmpipe: use ppc64le/ppc64 Large code model for JIT-compiled shaders)
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index ee27f346254..89d3fb9133b 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -469,7 +469,7 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
*/
builder.setCodeModel(CodeModel::Large);
-#if PIPE_ARCH_LITTLE_ENDIAN
+#ifdef PIPE_ARCH_LITTLE_ENDIAN
/*
* Versions of LLVM prior to 4.0 lacked a table entry for "POWER8NVL",
* resulting in (big-endian) "generic" being returned on
More information about the mesa-commit
mailing list