gallivm: Replace architecture test with PIPE_ARCH_*
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 10 Feb 2012 03:50:59 +0000 (19:50 -0800)
committerStéphane Marchesin <marcheu@chromium.org>
Mon, 13 Feb 2012 00:32:15 +0000 (16:32 -0800)
commitd2c54fb5223efee699862bef56177027edc140bc
tree2e5ced1febb7631cc55f67dc1c59c82ccf121fa8
parenta2caf952a150a8da395f4cf1fd30e8c867b0064e
gallivm: Replace architecture test with PIPE_ARCH_*

X86Target is a variable, and therefore isn't defined at compile time. So
 LLVM_NATIVE_ARCH == X86Target
is translated into
 0 == 0
and since X86 is first, we always pick it.

Therefore we replace the logic with PIPE_ARCH_*.

https://bugs.freedesktop.org/show_bug.cgi?id=45420
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp