[flang-commits] [clang] [lld] [flang] [llvm] [AMDGPU] Introduce GFX9/10.1/10.3/11 Generic Targets (PR #76955)

Konstantin Zhuravlyov via flang-commits flang-commits at lists.llvm.org
Wed Jan 24 07:03:21 PST 2024


================
@@ -253,6 +274,12 @@ AMDGPU::IsaVersion AMDGPU::getIsaVersion(StringRef GPU) {
   case GK_GFX1151: return {11, 5, 1};
   case GK_GFX1200: return {12, 0, 0};
   case GK_GFX1201: return {12, 0, 1};
+
+  // Generic targets use the earliest ISA version in their group.
----------------
kzhuravl wrote:

Ok, works for me for now.

> should probably be refactored IMO

Agreed.

https://github.com/llvm/llvm-project/pull/76955


More information about the flang-commits mailing list