[clang] [llvm] [AMDGPU] Introduce a new generic target `gfx9-4-generic` (PR #115190)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 6 10:47:11 PST 2024


================
@@ -156,6 +157,8 @@ StringRef llvm::AMDGPU::getArchFamilyNameAMDGCN(GPUKind AK) {
   switch (AK) {
   case AMDGPU::GK_GFX9_GENERIC:
     return "gfx9";
+  case AMDGPU::GK_GFX9_4_GENERIC:
+    return "gfx9";
----------------
arsenm wrote:

I guess it would still be gfx9 (not that I think these type of macros are useful) 

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


More information about the cfe-commits mailing list