[PATCH] D46587: [AMDGPU] Provide machine -> name mapping

Tim Renouf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 10:07:35 PDT 2018


tpr created this revision.
Herald added subscribers: llvm-commits, t-tye, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl, arsenm.

AMDGPU stores a numerical code for the particular GPU variant in EFlags
in the ELF file. This commit provides a mapping from that number into
the machine name for use by objdump-type tools.

Change-Id: Id37fc0bebad443bd89c0080985ce298c4e7e9319


Repository:
  rL LLVM

https://reviews.llvm.org/D46587

Files:
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46587.145716.patch
Type: text/x-patch
Size: 7351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180508/500f8bd2/attachment.bin>


More information about the llvm-commits mailing list