mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92624 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d241e38d26
commit
cb33fd17cc
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user