From: Marek Olšák Date: Sun, 19 Mar 2023 20:07:00 +0000 (-0400) Subject: amd: set the correct LLVM processor name for gfx1036 X-Git-Tag: upstream/23.3.3~10862 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0d449dd4015b8efd053ef58aa3eff730987f8b4;p=platform%2Fupstream%2Fmesa.git amd: set the correct LLVM processor name for gfx1036 Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- diff --git a/src/amd/llvm/ac_llvm_util.c b/src/amd/llvm/ac_llvm_util.c index 9f4913b..4e89c46 100644 --- a/src/amd/llvm/ac_llvm_util.c +++ b/src/amd/llvm/ac_llvm_util.c @@ -174,8 +174,8 @@ const char *ac_get_llvm_processor_name(enum radeon_family family) return LLVM_VERSION_MAJOR >= 13 ? "gfx1034" : "gfx1030"; case CHIP_REMBRANDT: return LLVM_VERSION_MAJOR >= 13 ? "gfx1035" : "gfx1030"; - case CHIP_RAPHAEL_MENDOCINO: /* TODO: LLVM 15 doesn't support this yet */ - return "gfx1030"; + case CHIP_RAPHAEL_MENDOCINO: + return LLVM_VERSION_MAJOR >= 15 ? "gfx1036" : "gfx1030"; case CHIP_GFX1100: return "gfx1100"; case CHIP_GFX1101: