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>
This commit is contained in:
Dave Airlie 2019-11-21 05:53:03 +10:00 committed by Dylan Baker
parent 6477084c1a
commit c694d3c5ca

View file

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