Change errs() to dbgs().

llvm-svn: 92624
This commit is contained in:
David Greene 2010-01-05 01:27:47 +00:00
parent e0b9789593
commit 241992382e
1 changed files with 4 additions and 4 deletions

View File

@ -456,10 +456,10 @@ bool MemCpyOpt::processStore(StoreInst *SI, BasicBlock::iterator &BBI) {
ConstantInt::get(Type::getInt32Ty(Context), Range.Alignment)
};
Value *C = CallInst::Create(MemSetF, Ops, Ops+4, "", InsertPt);
DEBUG(errs() << "Replace stores:\n";
DEBUG(dbgs() << "Replace stores:\n";
for (unsigned i = 0, e = Range.TheStores.size(); i != e; ++i)
errs() << *Range.TheStores[i];
errs() << "With: " << *C); C=C;
dbgs() << *Range.TheStores[i];
dbgs() << "With: " << *C); C=C;
// Don't invalidate the iterator
BBI = BI;
@ -725,7 +725,7 @@ bool MemCpyOpt::processMemMove(MemMoveInst *M) {
AliasAnalysis::NoAlias)
return false;
DEBUG(errs() << "MemCpyOpt: Optimizing memmove -> memcpy: " << *M << "\n");
DEBUG(dbgs() << "MemCpyOpt: Optimizing memmove -> memcpy: " << *M << "\n");
// If not, then we know we can transform this.
Module *Mod = M->getParent()->getParent()->getParent();