ac/llvm: update LLVM processor names for gfx10.3
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15209>
This commit is contained in:
@@ -174,12 +174,18 @@ const char *ac_get_llvm_processor_name(enum radeon_family family)
|
||||
case CHIP_NAVI14:
|
||||
return "gfx1012";
|
||||
case CHIP_SIENNA_CICHLID:
|
||||
return "gfx1030";
|
||||
case CHIP_NAVY_FLOUNDER:
|
||||
return LLVM_VERSION_MAJOR >= 12 ? "gfx1031" : "gfx1030";
|
||||
case CHIP_DIMGREY_CAVEFISH:
|
||||
case CHIP_BEIGE_GOBY:
|
||||
return LLVM_VERSION_MAJOR >= 12 ? "gfx1032" : "gfx1030";
|
||||
case CHIP_VANGOGH:
|
||||
return LLVM_VERSION_MAJOR >= 12 ? "gfx1033" : "gfx1030";
|
||||
case CHIP_BEIGE_GOBY:
|
||||
return LLVM_VERSION_MAJOR >= 13 ? "gfx1034" : "gfx1030";
|
||||
case CHIP_YELLOW_CARP:
|
||||
case CHIP_GFX1036:
|
||||
return LLVM_VERSION_MAJOR >= 13 ? "gfx1035" : "gfx1030";
|
||||
case CHIP_GFX1036: /* TODO: LLVM 15 doesn't support this yet */
|
||||
return "gfx1030";
|
||||
default:
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user