[all-commits] [llvm/llvm-project] a9ae24: [SystemZ][z/OS] Introduce the GOFFMCAsmInfo Interf...

Anirudh Prasad via All-commits all-commits at lists.llvm.org
Fri Sep 24 13:25:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9ae2436fc0dcb68ef8a478948e46d0a9998b0c9
      https://github.com/llvm/llvm-project/commit/a9ae2436fc0dcb68ef8a478948e46d0a9998b0c9
  Author: Anirudh Prasad <anirudh_prasad at hotmail.com>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    A llvm/include/llvm/MC/MCAsmInfoGOFF.h
    M llvm/lib/MC/CMakeLists.txt
    A llvm/lib/MC/MCAsmInfoGOFF.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.h
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp
    M llvm/unittests/MC/SystemZ/SystemZAsmLexerTest.cpp

  Log Message:
  -----------
  [SystemZ][z/OS] Introduce the GOFFMCAsmInfo Interface for z/OS

- This patch adds in the GOFFMCAsmInfo interfaces for the z/OS target.
- This patch decouples the previously existing SystemZMCAsmInfo interface for the ELF target and the z/OS target.
- This patch also removes a small test in the SystemZAsmLexerTest.cpp. The reason for this is because, the test is set up for the s390x-ibm-linux (SystemZ ELF triple), and the test checks a function which is overridden only for the z/OS target. The reason we can't change the test to use a z/OS triple outright is because there is still missing support which prevents the successful running of a test (assert in AsmParser.cpp due to missing GOFFAsmParser support)

Reviewed By: uweigand, abhina.sreeskantharajan

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




More information about the All-commits mailing list