summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorAndrew V. Tischenko <andrew.v.tischenko@gmail.com>2018-02-26 09:43:21 +0000
committerAndrew V. Tischenko <andrew.v.tischenko@gmail.com>2018-02-26 09:43:21 +0000
commit083891925bb634b1b0227d6668e388ea0267b942 (patch)
treec9cc0a62b0558b6fe451e64c355f83b235d3fbf2 /llvm/lib/CodeGen/MachineCombiner.cpp
parentde6b342e90b2626c347aaabfc833eef5f4097cf1 (diff)
downloadbcm5719-llvm-083891925bb634b1b0227d6668e388ea0267b942.tar.gz
bcm5719-llvm-083891925bb634b1b0227d6668e388ea0267b942.zip
The final step to close D41278 [MachineCombiner] Improve debug output (NFC).
Differential Revision: https://reviews.llvm.org/D41278 llvm-svn: 326074
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineCombiner.cpp6
1 files changed, 2 insertions, 4 deletions
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);
}
});
OpenPOWER on IntegriCloud