radeonsi: fix Fiji for LLVM <= 3.7
authorMarek Olšák <marek.olsak@amd.com>
Thu, 3 Dec 2015 22:50:00 +0000 (23:50 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 3 Dec 2015 22:55:23 +0000 (23:55 +0100)
Cc: 11.0 11.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c

index 1ed5eb794d3659c267f903b1e0e32b7799a8789d..f566a299f305135b44eba4e4a3646a4f701632a3 100644 (file)
@@ -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 "";