forked from OSchip/llvm-project
Add newline to debugging output, and fix some grammar-os in comment.
llvm-svn: 94765
This commit is contained in:
parent
82436d1666
commit
8277838cf8
|
@ -1615,7 +1615,7 @@ LoopStrengthReduce::StrengthReduceIVUsersOfStride(const SCEV *Stride,
|
||||||
DEBUG(dbgs() << " use ");
|
DEBUG(dbgs() << " use ");
|
||||||
DEBUG(WriteAsOperand(dbgs(), UsersToProcess.back().OperandValToReplace,
|
DEBUG(WriteAsOperand(dbgs(), UsersToProcess.back().OperandValToReplace,
|
||||||
/*PrintType=*/false));
|
/*PrintType=*/false));
|
||||||
DEBUG(dbgs() << " in Inst: " << *User.Inst);
|
DEBUG(dbgs() << " in Inst: " << *User.Inst << '\n');
|
||||||
|
|
||||||
// If this instruction wants to use the post-incremented value, move it
|
// If this instruction wants to use the post-incremented value, move it
|
||||||
// after the post-inc and use its value instead of the PHI.
|
// after the post-inc and use its value instead of the PHI.
|
||||||
|
@ -1801,10 +1801,10 @@ namespace {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// ChangeCompareStride - If a loop termination compare instruction is the
|
/// ChangeCompareStride - If a loop termination compare instruction is the only
|
||||||
/// only use of its stride, and the compaison is against a constant value,
|
/// use of its stride, and the comparison is against a constant value, try to
|
||||||
/// try eliminate the stride by moving the compare instruction to another
|
/// eliminate the stride by moving the compare instruction to another stride and
|
||||||
/// stride and change its constant operand accordingly. e.g.
|
/// changing its constant operand accordingly. E.g.
|
||||||
///
|
///
|
||||||
/// loop:
|
/// loop:
|
||||||
/// ...
|
/// ...
|
||||||
|
|
Loading…
Reference in New Issue