[llvm] 949ef57 - AMDGPU/NFC: Reserve 0x058 EF_AMDGPU_MACHs (#93696)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 09:52:38 PDT 2024


Author: Konstantin Zhuravlyov
Date: 2024-05-29T12:52:34-04:00
New Revision: 949ef57dd20f8d3f3257376b91af71ab8c380338

URL: https://github.com/llvm/llvm-project/commit/949ef57dd20f8d3f3257376b91af71ab8c380338
DIFF: https://github.com/llvm/llvm-project/commit/949ef57dd20f8d3f3257376b91af71ab8c380338.diff

LOG: AMDGPU/NFC: Reserve 0x058 EF_AMDGPU_MACHs (#93696)

Added: 
    

Modified: 
    llvm/docs/AMDGPUUsage.rst
    llvm/include/llvm/BinaryFormat/ELF.h

Removed: 
    


################################################################################
diff  --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index b827524e6b8db..95b54548f4fa8 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -1972,6 +1972,7 @@ The AMDGPU backend uses the following ELF header:
      *reserved*                                 0x055      Reserved.
      *reserved*                                 0x056      Reserved.
      *reserved*                                 0x057      Reserved.
+     *reserved*                                 0x058      Reserved.
      ========================================== ========== =============================
 
 Sections

diff  --git a/llvm/include/llvm/BinaryFormat/ELF.h b/llvm/include/llvm/BinaryFormat/ELF.h
index 67cacaed2e12e..9a538252d9bef 100644
--- a/llvm/include/llvm/BinaryFormat/ELF.h
+++ b/llvm/include/llvm/BinaryFormat/ELF.h
@@ -798,6 +798,7 @@ enum : unsigned {
   EF_AMDGPU_MACH_AMDGCN_RESERVED_0X55 = 0x055,
   EF_AMDGPU_MACH_AMDGCN_RESERVED_0X56 = 0x056,
   EF_AMDGPU_MACH_AMDGCN_RESERVED_0X57 = 0x057,
+  EF_AMDGPU_MACH_AMDGCN_RESERVED_0X58 = 0x058,
   // clang-format on
 
   // First/last AMDGCN-based processors.


        


More information about the llvm-commits mailing list