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 | 331b6f31af82590a0bafd96142c1d921d2d9b298 (patch) | |
tree | 38ba762376263f6919a3c4b7b80328ef28f8269a /lib/CodeGen/ScheduleDAGInstrs.cpp | |
parent | 5c4660bc608820c4fbfc747bbc32e5d0e5fc0aa0 (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ScheduleDAGInstrs.cpp')
-rw-r--r-- | lib/CodeGen/ScheduleDAGInstrs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp b/lib/CodeGen/ScheduleDAGInstrs.cpp index 9249fa84b38..3afa78d1133 100644 --- a/lib/CodeGen/ScheduleDAGInstrs.cpp +++ b/lib/CodeGen/ScheduleDAGInstrs.cpp @@ -1099,6 +1099,7 @@ void ScheduleDAGInstrs::dumpNode(const SUnit *SU) const { // Cannot completely remove virtual function even in release mode. #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) SU->getInstr()->dump(); + dbgs() << '\n'; #endif } |