From d65438d0ca7cf1e03a27767dbf2e455ac0b9b154 Mon Sep 17 00:00:00 2001 From: Francis Visoiu Mistrih Date: Thu, 8 Feb 2018 23:42:27 +0000 Subject: [CodeGen] Move printing '\n' from MachineInstr::print to MachineBasicBlock::print MBB.print wasn't printing it, but the MIRPrinter is printing it. The goal is to unify that as much as possible. llvm-svn: 324681 --- llvm/lib/CodeGen/MachineBasicBlock.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp') diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 7da604cc1765..1076c1985315 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -352,6 +352,7 @@ void MachineBasicBlock::print(raw_ostream &OS, ModuleSlotTracker &MST, if (I.isInsideBundle()) OS << " * "; I.print(OS, MST, IsStandalone); + OS << '\n'; } // Print the successors of this block according to the CFG. -- cgit v1.2.3