[all-commits] [llvm/llvm-project] 1c3ef9: [SystemZ] Support symbolic displacements.

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Mon Nov 15 13:48:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c3ef9ef4a4dc84f36e9282b9cd1c7313a3d4a08
      https://github.com/llvm/llvm-project/commit/1c3ef9ef4a4dc84f36e9282b9cd1c7313a3d4a08
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

  Changed paths:
    M llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.h
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCFixups.h
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.h
    A llvm/test/MC/SystemZ/fixups-out-of-range.s
    M llvm/test/MC/SystemZ/fixups.s
    A llvm/test/MC/SystemZ/reloc-absolute.s
    M llvm/test/MC/SystemZ/reloc-directive.s

  Log Message:
  -----------
  [SystemZ] Support symbolic displacements.

This patch adds support for symbolic displacements, e.g. like 'lg %r0,
sym(%r1)', which is done using relocations. This is needed to compile the
kernel without disabling the integrated assembler.

Review: Ulrich Weigand

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




More information about the All-commits mailing list