mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
remove std::ostream versions of printing stuff for MBB and MF,
upgrading a few things to use raw_ostream git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79811 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user