[PATCH] D74913: Clean up assembler CFI directives

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 10:38:26 PST 2020


scott.linder created this revision.
Herald added subscribers: llvm-commits, kerbowa, jrtc27, fedor.sergeev, hiraditya, tpr, aprantl, nhaehnle, jvesely, jyknight, arsenm.
Herald added a project: LLVM.

- Support emitting .cfi_undefined in CodeGen
- Emit register names in assembly for .cfi_undefined, .cfi_register, and

.cfi_return_column

[AMDGPU] Implement wave64 DWARF register mapping

Implement the DWARF register mapping described in
llvm/docs/AMDGPUUsage.rst

This is currently limited to wave64 VGPRs/AGPRs.

This also includes some minor changes in AMDGPUInstPrinter and
AMDGPUMCTargetDesc to make generating CFI assembly text and ELF sections
possible to ease testing, although complete CFI support is not yet
implemented.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74913

Files:
  llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  llvm/lib/MC/MCAsmStreamer.cpp
  llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
  llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
  llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
  llvm/lib/Target/AMDGPU/SIRegisterInfo.td
  llvm/test/CodeGen/SPARC/2013-05-17-CallFrame.ll
  llvm/test/CodeGen/SPARC/exception.ll
  llvm/test/CodeGen/SPARC/reserved-regs.ll
  llvm/test/CodeGen/SPARC/umulo-128-legalisation-lowering.ll
  llvm/test/DebugInfo/AMDGPU/print-reg-name.s
  llvm/test/DebugInfo/AMDGPU/register-mapping.s
  llvm/test/DebugInfo/AMDGPU/variable-locations.ll
  llvm/test/MC/X86/return-column.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74913.245689.patch
Type: text/x-patch
Size: 13061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200220/014ef129/attachment.bin>


More information about the llvm-commits mailing list