diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-01-29 00:27:39 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-01-29 00:27:39 +0000 |
commit | 8277838cf87b745f08bc566f60cc718b8678d52d (patch) | |
tree | 8211ef4ff106bbb34ba47091fe87379e0e8fb24e /llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | 82436d16668656017e073a33a4d07a776c074abe (diff) | |
download | bcm5719-llvm-8277838cf87b745f08bc566f60cc718b8678d52d.tar.gz bcm5719-llvm-8277838cf87b745f08bc566f60cc718b8678d52d.zip |
Add newline to debugging output, and fix some grammar-os in comment.
llvm-svn: 94765
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index fa820ed8e40..d5c4600b8e1 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -1615,7 +1615,7 @@ LoopStrengthReduce::StrengthReduceIVUsersOfStride(const SCEV *Stride, DEBUG(dbgs() << " use "); DEBUG(WriteAsOperand(dbgs(), UsersToProcess.back().OperandValToReplace, /*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 // 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 -/// only use of its stride, and the compaison is against a constant value, -/// try eliminate the stride by moving the compare instruction to another -/// stride and change its constant operand accordingly. e.g. +/// ChangeCompareStride - If a loop termination compare instruction is the only +/// use of its stride, and the comparison is against a constant value, try to +/// eliminate the stride by moving the compare instruction to another stride and +/// changing its constant operand accordingly. E.g. /// /// loop: /// ... |