[PATCH] D47736: AMDHSA Code Object v3 assembler syntax update

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 4 12:31:43 PDT 2018


scott.linder created this revision.
scott.linder added reviewers: t-tye, kzhuravl, arsenm, rampitec, tstellar, nhaehnle, artem.tamazov.
Herald added subscribers: llvm-commits, tpr, wdng.

Update assembler syntax for code object v3 to match https://reviews.llvm.org/D47566

- Replace/rename most AMDGPU assembler directives/symbols and document them
- Provide more diagnostics (e.g. for values out of range, missing required values, repeated values, mismatching command-line options)

The new syntax should allow us to remain backwards compatible, even if the underlying descriptor changes.


Repository:
  rL LLVM

https://reviews.llvm.org/D47736

Files:
  docs/AMDGPUUsage.rst
  lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  test/MC/AMDGPU/hsa-diag-v3.s
  test/MC/AMDGPU/hsa-v3.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47736.149827.patch
Type: text/x-patch
Size: 59358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180604/69efd9a2/attachment.bin>


More information about the llvm-commits mailing list