diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-02-08 23:42:27 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-02-08 23:42:27 +0000 |
commit | d65438d0ca7cf1e03a27767dbf2e455ac0b9b154 (patch) | |
tree | dc67b185fe6f440bce12c1748bad100c75269ca5 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 9849f595b9f92914263f80cdb8c48ec78499ba0b (diff) | |
download | llvm-d65438d0ca7cf1e03a27767dbf2e455ac0b9b154.zip llvm-d65438d0ca7cf1e03a27767dbf2e455ac0b9b154.tar.gz llvm-d65438d0ca7cf1e03a27767dbf2e455ac0b9b154.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBasicBlock.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 7da604c..1076c19 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. |