mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
[Reassociate] Use dbgs() instead of errs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224125 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
31f9936bf5
commit
5400fd6d79
@ -1512,7 +1512,7 @@ Value *Reassociate::OptimizeAdd(Instruction *I,
|
||||
++NumFound;
|
||||
} while (i != Ops.size() && Ops[i].Op == TheOp);
|
||||
|
||||
DEBUG(errs() << "\nFACTORING [" << NumFound << "]: " << *TheOp << '\n');
|
||||
DEBUG(dbgs() << "\nFACTORING [" << NumFound << "]: " << *TheOp << '\n');
|
||||
++NumFactor;
|
||||
|
||||
// Insert a new multiply.
|
||||
@ -1650,7 +1650,7 @@ Value *Reassociate::OptimizeAdd(Instruction *I,
|
||||
|
||||
// If any factor occurred more than one time, we can pull it out.
|
||||
if (MaxOcc > 1) {
|
||||
DEBUG(errs() << "\nFACTORING [" << MaxOcc << "]: " << *MaxOccVal << '\n');
|
||||
DEBUG(dbgs() << "\nFACTORING [" << MaxOcc << "]: " << *MaxOccVal << '\n');
|
||||
++NumFactor;
|
||||
|
||||
// Create a new instruction that uses the MaxOccVal twice. If we don't do
|
||||
|
Loading…
x
Reference in New Issue
Block a user