diff options
-rw-r--r-- | src/amd/common/ac_llvm_util.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/amd/common/ac_llvm_util.c b/src/amd/common/ac_llvm_util.c index a06c83a2963..be2d92b4c08 100644 --- a/src/amd/common/ac_llvm_util.c +++ b/src/amd/common/ac_llvm_util.c @@ -115,9 +115,11 @@ const char *ac_get_llvm_processor_name(enum radeon_family family) case CHIP_VEGAM: return "polaris11"; case CHIP_VEGA10: - case CHIP_VEGA12: - case CHIP_RAVEN: return "gfx900"; + case CHIP_RAVEN: + return "gfx902"; + case CHIP_VEGA12: + return HAVE_LLVM >= 0x0700 ? "gfx904" : "gfx902"; default: return ""; } |