diff options
| author | David Greene <greened@obbligato.org> | 2010-01-05 01:26:00 +0000 |
|---|---|---|
| committer | David Greene <greened@obbligato.org> | 2010-01-05 01:26:00 +0000 |
| commit | 4b7aa24842b7bd08e1eb27d7d5c10eee9cc5f4ce (patch) | |
| tree | b45c8ef2221a2c5b717658c8a67419e74d3fb3a3 /llvm/lib/CodeGen/MachineSink.cpp | |
| parent | 7e34eadd9142c4ae7a52c989e57b1f8152556145 (diff) | |
| download | bcm5719-llvm-4b7aa24842b7bd08e1eb27d7d5c10eee9cc5f4ce.tar.gz bcm5719-llvm-4b7aa24842b7bd08e1eb27d7d5c10eee9cc5f4ce.zip | |
Change errs() to dbgs().
llvm-svn: 92593
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MachineSink.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MachineSink.cpp b/llvm/lib/CodeGen/MachineSink.cpp index e04073884da..c177e3c7bae 100644 --- a/llvm/lib/CodeGen/MachineSink.cpp +++ b/llvm/lib/CodeGen/MachineSink.cpp @@ -90,7 +90,7 @@ bool MachineSinking::AllUsesDominatedByBlock(unsigned Reg, } bool MachineSinking::runOnMachineFunction(MachineFunction &MF) { - DEBUG(errs() << "******** Machine Sinking ********\n"); + DEBUG(dbgs() << "******** Machine Sinking ********\n"); const TargetMachine &TM = MF.getTarget(); TII = TM.getInstrInfo(); @@ -255,15 +255,15 @@ bool MachineSinking::SinkInstruction(MachineInstr *MI, bool &SawStore) { if (MI->getParent() == SuccToSinkTo) return false; - DEBUG(errs() << "Sink instr " << *MI); - DEBUG(errs() << "to block " << *SuccToSinkTo); + DEBUG(dbgs() << "Sink instr " << *MI); + DEBUG(dbgs() << "to block " << *SuccToSinkTo); // If the block has multiple predecessors, this would introduce computation on // a path that it doesn't already exist. We could split the critical edge, // but for now we just punt. // FIXME: Split critical edges if not backedges. if (SuccToSinkTo->pred_size() > 1) { - DEBUG(errs() << " *** PUNTING: Critical edge found\n"); + DEBUG(dbgs() << " *** PUNTING: Critical edge found\n"); return false; } |

