[llvm-commits] [llvm] r89145 - /llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Jim Grosbach
grosbach at apple.com
Tue Nov 17 13:37:04 PST 2009
Author: grosbach
Date: Tue Nov 17 15:37:04 2009
New Revision: 89145
URL: http://llvm.org/viewvc/llvm-project?rev=89145&view=rev
Log:
grammar
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=89145&r1=89144&r2=89145&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Tue Nov 17 15:37:04 2009
@@ -2603,8 +2603,8 @@
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);
More information about the llvm-commits
mailing list