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

Pierre van Houtryve via flang-commits flang-commits at lists.llvm.org
Thu Jan 18 02:05:59 PST 2024


================
@@ -787,11 +788,15 @@ enum : unsigned {
   EF_AMDGPU_MACH_AMDGCN_GFX942        = 0x04c,
   EF_AMDGPU_MACH_AMDGCN_RESERVED_0X4D = 0x04d,
   EF_AMDGPU_MACH_AMDGCN_GFX1201       = 0x04e,
+  EF_AMDGPU_MACH_AMDGCN_GFX9_GENERIC      = 0x04f,
+  EF_AMDGPU_MACH_AMDGCN_GFX10_1_GENERIC   = 0x050,
----------------
Pierre-vh wrote:

Just noticed I forgot to update the AMDGPUUsage + the EF_AMDGPU_MACH_AMDGCN_LAST enum when adding the reserved entries. I'll do that here.

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


More information about the flang-commits mailing list