[PATCH] lib/Support/ELF.h: Add EM_HSAIL and EM_HSAIL_64

Matt Arsenault Matthew.Arsenault at amd.com
Tue Jun 9 11:21:14 PDT 2015


This is a minor patch required for HSAIL target

http://reviews.llvm.org/D10342

Files:
  include/llvm/Support/ELF.h

Index: include/llvm/Support/ELF.h
===================================================================
--- include/llvm/Support/ELF.h
+++ include/llvm/Support/ELF.h
@@ -234,6 +234,8 @@
                           // Controller
   EM_CE            = 119, // Freescale Communication Engine RISC core
   EM_M32C          = 120, // Renesas M32C series microprocessors
+  EM_HSAIL         = 128, // HSAIL 32bit
+  EM_HSAIL_64      = 129, // HSAIL 64bit
   EM_TSK3000       = 131, // Altium TSK3000 core
   EM_RS08          = 132, // Freescale RS08 embedded processor
   EM_SHARC         = 133, // Analog Devices SHARC family of 32-bit DSP

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10342.27385.patch
Type: text/x-patch
Size: 632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150609/4cec9363/attachment.bin>


More information about the llvm-commits mailing list