Skip to content

Commit 59ebdf4

Browse files
author
Tony Tao
committed
fix typo and formatting
1 parent dcb2d57 commit 59ebdf4

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

llvm/lib/Target/SystemZ/MCTargetDesc/SystemZGNUInstPrinter.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
//==- SystemZGNUInstPrinter.h - Convert SystemZ MCInst to assembly --*- C++ -*-==//
1+
//==- SystemZGNUInstPrinter.h - Convert SystemZ MCInst to assembly -*- C++ -*-==//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
//===-------------------------------------------------------------------------===//
7+
//===------------------------------------------------------------------------===//
88
//
99
// This class prints a SystemZ MCInst to a .s file in GNU assembly format.
1010
//
11-
//===-------------------------------------------------------------------------===//
11+
//===------------------------------------------------------------------------===//
1212

1313
#ifndef LLVM_LIB_TARGET_SYSTEMZ_MCTARGETDESC_SYSTEMZGNUINSTPRINTER_H
1414
#define LLVM_LIB_TARGET_SYSTEMZ_MCTARGETDESC_SYSTEMZGNUINSTPRINTER_H

llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMInstPrinter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
//===- SystemZHLASMInstPrinter.cpp - Convert SystemZ MCInst to HLASM assembly -===//
1+
//===- SystemZHLASMInstPrinter.cpp - Convert SystemZ MCInst to HLASM assembly -==//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
//===--------------------------------------------------------------------------===//
7+
//===--------------------------------------------------------------------------==//
88

99
#include "SystemZHLASMInstPrinter.h"
1010
#include "llvm/MC/MCInst.h"

llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMInstPrinter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//- SystemZHLASMInstPrinter.h - Convert SystemZ MCInst to assembly --*- C++ -*-//
1+
//- SystemZHLASMInstPrinter.h - Convert SystemZ MCInst to assembly -*- C++ -*-//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

llvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinterCommon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void SystemZInstPrinterCommon::printAddress(const MCAsmInfo *MAI,
3434
O << ',';
3535
}
3636
if (Base)
37-
printRegName(O, Index);
37+
printRegName(O, Base);
3838
else
3939
O << '0';
4040
O << ')';

llvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinterCommon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SystemZInstPrinterCommon : public MCInstPrinter {
2626
public:
2727
SystemZInstPrinterCommon(const MCAsmInfo &MAI, const MCInstrInfo &MII,
2828
const MCRegisterInfo &MRI)
29-
: MCInstPrinter(MAI, MII, MRI) {}
29+
: MCInstPrinter(MAI, MII, MRI) {}
3030

3131
// Print an address with the given base, displacement and index.
3232
void printAddress(const MCAsmInfo *MAI, MCRegister Base,

llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "SystemZGNUInstPrinter.h"
109
#include "SystemZMCTargetDesc.h"
10+
#include "SystemZGNUInstPrinter.h"
1111
#include "SystemZHLASMInstPrinter.h"
1212
#include "SystemZMCAsmInfo.h"
1313
#include "SystemZTargetStreamer.h"

0 commit comments

Comments
 (0)