diff options
author | Tom Stellard <[email protected]> | 2013-10-03 07:56:35 -0700 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2013-10-16 12:55:30 -0400 |
commit | 9da4021626dd48a1cc25054d1d4009e098f4d97b (patch) | |
tree | e9f772f4a3f1caed5eb37444f387803d14bb7383 /src/gallium | |
parent | 13ac38b4ef94d3ab32d509e89a1131ce1ce67437 (diff) |
radeonsi: Use 'SI' as the LLVM processor for CIK on LLVM <= 3.3
LLVM 3.3 does not know about CIK processors, and the codes paths for SI
and CIK are the same.
Reviewed-by: Marek Olšák <[email protected]>
Cc: "9.2" <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c index c3250e4fcb9..121fd186fe7 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c @@ -307,11 +307,15 @@ const char *r600_get_llvm_processor_name(enum radeon_family family) case CHIP_PITCAIRN: return "pitcairn"; case CHIP_VERDE: return "verde"; case CHIP_OLAND: return "oland"; +#if HAVE_LLVM <= 0x0303 + default: return "SI"; +#else case CHIP_HAINAN: return "hainan"; case CHIP_BONAIRE: return "bonaire"; case CHIP_KABINI: return "kabini"; case CHIP_KAVERI: return "kaveri"; default: return ""; +#endif } } |