[llvm-branch-commits] [llvm-branch] r89147 - /llvm/branches/Apple/Leela/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Jim Grosbach
grosbach at apple.com
Tue Nov 17 13:39:04 PST 2009
Author: grosbach
Date: Tue Nov 17 15:39:04 2009
New Revision: 89147
URL: http://llvm.org/viewvc/llvm-project?rev=89147&view=rev
Log:
merge 89145
Modified:
llvm/branches/Apple/Leela/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Modified: llvm/branches/Apple/Leela/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=89147&r1=89146&r2=89147&view=diff
==============================================================================
--- llvm/branches/Apple/Leela/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/branches/Apple/Leela/lib/Transforms/Scalar/LoopStrengthReduce.cpp Tue Nov 17 15:39: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-branch-commits
mailing list