[llvm] AMDGPU/NFC: Reserve 0x058 EF_AMDGPU_MACHs (PR #93696)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 07:52:24 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu

@llvm/pr-subscribers-llvm-binary-utilities

Author: Konstantin Zhuravlyov (kzhuravl)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/93696.diff


2 Files Affected:

- (modified) llvm/docs/AMDGPUUsage.rst (+1) 
- (modified) llvm/include/llvm/BinaryFormat/ELF.h (+1) 


``````````diff
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.

``````````

</details>


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


More information about the llvm-commits mailing list