[PATCH] Support/ELF: Add EM_AMDGPU

Tom Stellard thomas.stellard at amd.com
Thu Jun 11 07:43:54 PDT 2015


Hi chandlerc, rafael,

This will be used by the R600 backend.

http://reviews.llvm.org/D10389

Files:
  include/llvm/Support/ELF.h

Index: include/llvm/Support/ELF.h
===================================================================
--- include/llvm/Support/ELF.h
+++ include/llvm/Support/ELF.h
@@ -308,7 +308,8 @@
   EM_COGE          = 216, // Cognitive Smart Memory Processor
   EM_COOL          = 217, // iCelero CoolEngine
   EM_NORC          = 218, // Nanoradio Optimized RISC
-  EM_CSR_KALIMBA   = 219  // CSR Kalimba architecture family
+  EM_CSR_KALIMBA   = 219, // CSR Kalimba architecture family
+  EM_AMDGPU        = 224  // AMD GPU architecture
 };
 
 // Object file classes.

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10389.27503.patch
Type: text/x-patch
Size: 557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150611/2000aed4/attachment.bin>


More information about the llvm-commits mailing list