[clang] [llvm] [AMDGPU] Add more generic targets (PR #205363)

Konstantin Zhuravlyov via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 09:02:28 PDT 2026


================
@@ -868,10 +870,12 @@ enum : unsigned {
   EF_AMDGPU_MACH_AMDGCN_RESERVED_0X4D = 0x04d,
   EF_AMDGPU_MACH_AMDGCN_RESERVED_0X56 = 0x056,
   EF_AMDGPU_MACH_AMDGCN_RESERVED_0X57 = 0x057,
+  EF_AMDGPU_MACH_AMDGCN_RESERVED_0X60 = 0x060,
----------------
kzhuravl wrote:

> I think the ROCr consumer just uses string values, but the LLVM header is the canonical reference I believe. We build ROCr from LLVM sources but I don't remember if it specifically reads those.

rocr uses the value from the elf header to construct a target id, which is a string

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


More information about the cfe-commits mailing list