llvmpipe/ppc: fix if/ifdef confusion in backport.

Fixes: 32aba91c07 (llvmpipe: use ppc64le/ppc64 Large code model for JIT-compiled shaders)
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2131
This commit is contained in:
Dave Airlie 2019-11-21 05:53:03 +10:00 committed by Dylan Baker
parent c2488d810b
commit b1f505463d

View file

@ -705,7 +705,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