[PATCH] D76253: [AMDGPU] Print DWARF register numbers in AMDGPUInstPrinter

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 14:15:11 PDT 2020


scott.linder created this revision.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, aprantl, yaxunl, nhaehnle, wdng, jvesely, kzhuravl, arsenm.
Herald added a project: LLVM.

Explanation is in a comment in the diff, but essentially printing a
physical register name here is ambiguous. Until we can implement
printing a DWARF register name here just use the encoding directly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76253

Files:
  llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
  llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp
  llvm/test/DebugInfo/AMDGPU/print-reg-name.s
  llvm/test/DebugInfo/AMDGPU/register-mapping.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76253.250628.patch
Type: text/x-patch
Size: 3898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200316/3df51039/attachment.bin>


More information about the llvm-commits mailing list