diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 03:13:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 03:13:20 +0000 |
commit | 565449d79ee69e57e3bf684f9bd9eabbe6e6da44 (patch) | |
tree | cd204561234740202df209aa6a5818117fb8d811 /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 84cffc22d413e026cb3cb5b814578c6c55f4ff78 (diff) | |
download | bcm5719-llvm-565449d79ee69e57e3bf684f9bd9eabbe6e6da44.tar.gz bcm5719-llvm-565449d79ee69e57e3bf684f9bd9eabbe6e6da44.zip |
remove std::ostream versions of printing stuff for MBB and MF,
upgrading a few things to use raw_ostream
llvm-svn: 79811
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineSink.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineSink.cpp b/llvm/lib/CodeGen/MachineSink.cpp index fbb8867be47..7fb33c6e4ce 100644 --- a/llvm/lib/CodeGen/MachineSink.cpp +++ b/llvm/lib/CodeGen/MachineSink.cpp @@ -239,15 +239,15 @@ bool MachineSinking::SinkInstruction(MachineInstr *MI, bool &SawStore) { if (MI->getParent() == SuccToSinkTo) return false; - DEBUG(cerr << "Sink instr " << *MI); - DEBUG(cerr << "to block " << *SuccToSinkTo); + DEBUG(errs() << "Sink instr " << *MI); + DEBUG(errs() << "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(cerr << " *** PUNTING: Critical edge found\n"); + DEBUG(errs() << " *** PUNTING: Critical edge found\n"); return false; } |