Skip to content

Commit e6988e1

Browse files
committed
[NFC][MIR] Fix extra whitespace in MIR printing
1 parent 93d3260 commit e6988e1

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

llvm/lib/CodeGen/MIRPrinter.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -880,34 +880,34 @@ static void printMI(raw_ostream &OS, MFPrintState &State,
880880
// Print any optional symbols attached to this instruction as-if they were
881881
// operands.
882882
if (MCSymbol *PreInstrSymbol = MI.getPreInstrSymbol()) {
883-
OS << LS << " pre-instr-symbol ";
883+
OS << LS << "pre-instr-symbol ";
884884
MachineOperand::printSymbol(OS, *PreInstrSymbol);
885885
}
886886
if (MCSymbol *PostInstrSymbol = MI.getPostInstrSymbol()) {
887-
OS << LS << " post-instr-symbol ";
887+
OS << LS << "post-instr-symbol ";
888888
MachineOperand::printSymbol(OS, *PostInstrSymbol);
889889
}
890890
if (MDNode *HeapAllocMarker = MI.getHeapAllocMarker()) {
891-
OS << LS << " heap-alloc-marker ";
891+
OS << LS << "heap-alloc-marker ";
892892
HeapAllocMarker->printAsOperand(OS, State.MST);
893893
}
894894
if (MDNode *PCSections = MI.getPCSections()) {
895-
OS << LS << " pcsections ";
895+
OS << LS << "pcsections ";
896896
PCSections->printAsOperand(OS, State.MST);
897897
}
898898
if (MDNode *MMRA = MI.getMMRAMetadata()) {
899-
OS << LS << " mmra ";
899+
OS << LS << "mmra ";
900900
MMRA->printAsOperand(OS, State.MST);
901901
}
902902
if (uint32_t CFIType = MI.getCFIType())
903-
OS << LS << " cfi-type " << CFIType;
903+
OS << LS << "cfi-type " << CFIType;
904904

905905
if (auto Num = MI.peekDebugInstrNum())
906-
OS << LS << " debug-instr-number " << Num;
906+
OS << LS << "debug-instr-number " << Num;
907907

908908
if (PrintLocations) {
909909
if (const DebugLoc &DL = MI.getDebugLoc()) {
910-
OS << LS << " debug-location ";
910+
OS << LS << "debug-location ";
911911
DL->printAsOperand(OS, State.MST);
912912
}
913913
}

llvm/test/CodeGen/MIR/AArch64/return-address-signing.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -mtriple=aarch64 -run-pass=prologepilog -run-pass=aarch64-ptrauth -o - %s 2>&1 | FileCheck %s
1+
# RUN: llc -mtriple=aarch64 -run-pass=prologepilog -run-pass=aarch64-ptrauth -o - %s 2>&1 | FileCheck --strict-whitespace %s
22
--- |
33
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
44
target triple = "aarch64"

0 commit comments

Comments
 (0)