[all-commits] [llvm/llvm-project] 163aad: [SystemZ][z/OS] z/OS ADA codegen and emission

Yusra Syeda via All-commits all-commits at lists.llvm.org
Wed Jul 5 10:26:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 163aad6bcbff6ee2935e24945ddef9719142aff0
      https://github.com/llvm/llvm-project/commit/163aad6bcbff6ee2935e24945ddef9719142aff0
  Author: Yusra Syeda <yusra.syeda at ibm.com>
  Date:   2023-07-05 (Wed, 05 Jul 2023)

  Changed paths:
    M llvm/include/llvm/MC/MCObjectFileInfo.h
    M llvm/lib/MC/MCObjectFileInfo.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt
    A llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCExpr.cpp
    A llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCExpr.h
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.h
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.h
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
    M llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.h
    M llvm/lib/Target/SystemZ/SystemZOperators.td
    M llvm/lib/Target/SystemZ/SystemZRegisterInfo.h
    M llvm/lib/Target/SystemZ/SystemZSubtarget.cpp
    M llvm/lib/Target/SystemZ/SystemZSubtarget.h
    M llvm/test/CodeGen/SystemZ/call-zos-vararg.ll
    A llvm/test/CodeGen/SystemZ/zos-ada-relocations.ll
    A llvm/test/CodeGen/SystemZ/zos-ada.ll
    M llvm/test/CodeGen/SystemZ/zos-prologue-epilog.ll

  Log Message:
  -----------
  [SystemZ][z/OS] z/OS ADA codegen and emission

This patch adds support for the ADA (associated data area), doing the following:

-Creates the ADA table to handle displacements
-Emits the ADA section in the SystemZAsmPrinter
-Lowers the ADA_ENTRY node into the appropriate load instruction

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




More information about the All-commits mailing list