aboutsummaryrefslogtreecommitdiffstats
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
commite65e2a55c76fd80f137adc6595057cf1a4a4d8fd (patch)
treefbae86411dcb5543964045f88612dad08b8dec7b
parent35ccbb7056c9c20ecc158d701fb3b00fdd795601 (diff)
downloadexternal_llvm-e65e2a55c76fd80f137adc6595057cf1a4a4d8fd.zip
external_llvm-e65e2a55c76fd80f137adc6595057cf1a4a4d8fd.tar.gz
external_llvm-e65e2a55c76fd80f137adc6595057cf1a4a4d8fd.tar.bz2
grammar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89145 91177308-0d34-0410-b5e6-96231b3b80d8
-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 e42129c..564c7ac 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);