diff options
| author | Kai Nacke <kai.peter.nacke@ibm.com> | 2026-02-17 15:47:11 -0500 |
|---|---|---|
| committer | Kai Nacke <kai.peter.nacke@ibm.com> | 2026-02-17 15:58:14 -0500 |
| commit | 960dbff617bc7a0a3cb7a2626ada9b648e7fec31 (patch) | |
| tree | 06c54f41c1de0948659da9eb1b7883f562eca6c9 | |
| parent | b9b0a7e615477cd120d8d984b4d8d358623416ae (diff) | |
| download | llvm-users/redstar/removegnuasoutput.zip llvm-users/redstar/removegnuasoutput.tar.gz llvm-users/redstar/removegnuasoutput.tar.bz2 | |
[SystemZ][z/OS] Remove temporary gnu as output on z/OSusers/redstar/removegnuasoutput
On z/OS, there is only HLASM as system assembler available. Since
all LIT tests are migrated, the temporary option ca now be removed.
| -rw-r--r-- | llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp index 4356f7a..fa6a6a0 100644 --- a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp +++ b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp @@ -37,12 +37,6 @@ using namespace llvm; #define GET_REGINFO_MC_DESC #include "SystemZGenRegisterInfo.inc" -// Temporary option to assist with the migration to a new HLASMAsmStreamer on -// z/OS -static cl::opt<bool> GNUAsOnzOSCL("emit-gnuas-syntax-on-zos", - cl::desc("Emit GNU Assembly Syntax on z/OS."), - cl::init(false)); - const unsigned SystemZMC::GR32Regs[16] = { SystemZ::R0L, SystemZ::R1L, SystemZ::R2L, SystemZ::R3L, SystemZ::R4L, SystemZ::R5L, SystemZ::R6L, SystemZ::R7L, @@ -203,7 +197,7 @@ static MCInstPrinter *createSystemZMCInstPrinter(const Triple &T, static MCTargetStreamer *createAsmTargetStreamer(MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint) { - if (S.getContext().getTargetTriple().isOSzOS() && !GNUAsOnzOSCL) + if (S.getContext().getTargetTriple().isOSzOS()) return new SystemZTargetHLASMStreamer(S, OS); else return new SystemZTargetGNUStreamer(S, OS); @@ -215,7 +209,7 @@ static MCStreamer *createSystemZAsmStreamer( std::unique_ptr<MCAsmBackend> TAB) { auto TT = Ctx.getTargetTriple(); - if (TT.isOSzOS() && !GNUAsOnzOSCL) + if (TT.isOSzOS()) return new SystemZHLASMAsmStreamer(Ctx, std::move(OS), std::move(IP), std::move(CE), std::move(TAB)); |
