From 083891925bb634b1b0227d6668e388ea0267b942 Mon Sep 17 00:00:00 2001 From: "Andrew V. Tischenko" Date: Mon, 26 Feb 2018 09:43:21 +0000 Subject: The final step to close D41278 [MachineCombiner] Improve debug output (NFC). Differential Revision: https://reviews.llvm.org/D41278 llvm-svn: 326074 --- llvm/lib/CodeGen/MachineCombiner.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp') diff --git a/llvm/lib/CodeGen/MachineCombiner.cpp b/llvm/lib/CodeGen/MachineCombiner.cpp index efdffe83d86..efb463f8810 100644 --- a/llvm/lib/CodeGen/MachineCombiner.cpp +++ b/llvm/lib/CodeGen/MachineCombiner.cpp @@ -559,14 +559,12 @@ bool MachineCombiner::combineInstructions(MachineBasicBlock *MBB) { dbgs() << "\tFor the Pattern (" << (int)P << ") these instructions could be removed\n"; for (auto const *InstrPtr : DelInstrs) { dbgs() << "\t\t" << STI->getSchedInfoStr(*InstrPtr) << ": "; - InstrPtr->print(dbgs(), false, false, TII); - dbgs() << "\n"; + InstrPtr->print(dbgs(), false, false, false, TII); } dbgs() << "\tThese instructions could replace the removed ones\n"; for (auto const *InstrPtr : InsInstrs) { dbgs() << "\t\t" << STI->getSchedInfoStr(*InstrPtr) << ": "; - InstrPtr->print(dbgs(), false, false, TII); - dbgs() << "\n"; + InstrPtr->print(dbgs(), false, false, false, TII); } }); -- cgit v1.2.3