[all-commits] [llvm/llvm-project] 7f3afd: Emit register names in cfi assembly directives

Scott Linder via All-commits all-commits at lists.llvm.org
Tue Feb 25 11:01:22 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f3afd480d95e77fb89565455b65b3ebd716aba1
      https://github.com/llvm/llvm-project/commit/7f3afd480d95e77fb89565455b65b3ebd716aba1
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/test/CodeGen/SPARC/2013-05-17-CallFrame.ll
    M llvm/test/CodeGen/SPARC/exception.ll
    M llvm/test/CodeGen/SPARC/reserved-regs.ll
    M llvm/test/CodeGen/SPARC/umulo-128-legalisation-lowering.ll
    M llvm/test/MC/X86/return-column.s

  Log Message:
  -----------
  Emit register names in cfi assembly directives

Update .cfi_undefined, .cfi_register, and .cfi_return_column to
print symbolic register arguments.

Differential Revision: https://reviews.llvm.org/D74914


  Commit: 915b4aa1392fc865de9139696780ad5107f6cdc8
      https://github.com/llvm/llvm-project/commit/915b4aa1392fc865de9139696780ad5107f6cdc8
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp

  Log Message:
  -----------
  Support emitting .cfi_undefined in CodeGen

This will be used by AMDGPU.

Differential Revision: https://reviews.llvm.org/D74914


  Commit: 481b1c83802f730df5876d01ede2054a738ee37e
      https://github.com/llvm/llvm-project/commit/481b1c83802f730df5876d01ede2054a738ee37e
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
    A llvm/test/DebugInfo/AMDGPU/print-reg-name.s
    A llvm/test/DebugInfo/AMDGPU/register-mapping.s
    M llvm/test/DebugInfo/AMDGPU/variable-locations.ll

  Log Message:
  -----------
  [AMDGPU] Implement wave64 DWARF register mapping

Summary:
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,
AMDGPUMCTargetDesc, and AMDGPUAsmParser to make generating CFI assembly
text and ELF sections possible to ease testing, although complete CFI
support is not yet implemented.

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74915


Compare: https://github.com/llvm/llvm-project/compare/a57d9652a0dc...481b1c83802f


More information about the All-commits mailing list