aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopStrengthReduce.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-11-17 21:37:04 +0000
committerJim Grosbach <grosbach@apple.com>2009-11-17 21:37:04 +0000
commit502309579962fe592c445d293119f5949edbcbdf (patch)
treefbae86411dcb5543964045f88612dad08b8dec7b /lib/Transforms/Scalar/LoopStrengthReduce.cpp
parentf04777b945e272ccec21c7080bd5480d78a14fd2 (diff)
grammar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89145 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index e42129cadc..564c7ac061 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -2603,8 +2603,8 @@ void LoopStrengthReduce::OptimizeLoopTermCond(Loop *L) {
bool LoopStrengthReduce::OptimizeLoopCountIVOfStride(const SCEV* &Stride,
IVStrideUse* &CondUse,
Loop *L) {
- // If the only use is an icmp of an loop exiting conditional branch, then
- // attempts the optimization.
+ // If the only use is an icmp of a loop exiting conditional branch, then
+ // attempt the optimization.
BasedUser User = BasedUser(*CondUse, SE);
assert(isa<ICmpInst>(User.Inst) && "Expecting an ICMPInst!");
ICmpInst *Cond = cast<ICmpInst>(User.Inst);