aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-01-29 00:27:39 +0000
committerBill Wendling <isanbard@gmail.com>2010-01-29 00:27:39 +0000
commit9f9113a44bbca4890184003a997cd9ddb5472d38 (patch)
treeeff47d749d6e074c99ef0f0da9a9319ff91fb5cd /lib/Transforms/Scalar
parent95fcebd5c490c725ee5d88be963d39ddaf0971bd (diff)
downloadexternal_llvm-9f9113a44bbca4890184003a997cd9ddb5472d38.zip
external_llvm-9f9113a44bbca4890184003a997cd9ddb5472d38.tar.gz
external_llvm-9f9113a44bbca4890184003a997cd9ddb5472d38.tar.bz2
Add newline to debugging output, and fix some grammar-os in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index fa820ed..d5c4600 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/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:
/// ...