diff options
author | Marek Olšák <[email protected]> | 2019-01-28 10:56:11 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-01-29 17:46:55 -0500 |
commit | 3e249b853ebb679656975b48aca91f76fc1d2fd2 (patch) | |
tree | 28fa07a5251233855c1d775803fd3f70e32e8a3b /src/amd/common | |
parent | f7769b512106a676cb8545e3d5f4118570015d78 (diff) |
ac: use the correct LLVM processor name on Raven2
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r-- | src/amd/common/ac_llvm_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_util.c b/src/amd/common/ac_llvm_util.c index 174a37f22f8..69446863b95 100644 --- a/src/amd/common/ac_llvm_util.c +++ b/src/amd/common/ac_llvm_util.c @@ -134,7 +134,7 @@ const char *ac_get_llvm_processor_name(enum radeon_family family) case CHIP_VEGA20: return "gfx906"; case CHIP_RAVEN2: - return "gfx902"; /* TODO: use gfx909 when it's available */ + return HAVE_LLVM >= 0x0800 ? "gfx909" : "gfx902"; default: return ""; } |