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

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 6 10:30:29 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";
----------------
shiltian wrote:

Define those macros like `__GFX9__`

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


More information about the cfe-commits mailing list