From: Marek Olšák Date: Thu, 3 Dec 2015 22:50:00 +0000 (+0100) Subject: radeonsi: fix Fiji for LLVM <= 3.7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd27825c8cf0e7b55ebaa139e299f275943d22f6;p=mesa.git radeonsi: fix Fiji for LLVM <= 3.7 Cc: 11.0 11.1 Reviewed-by: Alex Deucher --- diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index 1ed5eb794d3..f566a299f30 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -555,10 +555,11 @@ const char *r600_get_llvm_processor_name(enum radeon_family family) case CHIP_TONGA: return "tonga"; case CHIP_ICELAND: return "iceland"; case CHIP_CARRIZO: return "carrizo"; - case CHIP_FIJI: return "fiji"; #if HAVE_LLVM <= 0x0307 + case CHIP_FIJI: return "tonga"; case CHIP_STONEY: return "carrizo"; #else + case CHIP_FIJI: return "fiji"; case CHIP_STONEY: return "stoney"; #endif default: return "";