projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f04777b
)
grammar
author
Jim Grosbach
<grosbach@apple.com>
Tue, 17 Nov 2009 21:37:04 +0000
(21:37 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Tue, 17 Nov 2009 21:37:04 +0000
(21:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89145
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index e42129cadc31f3031eab2c7c428847dd2af5a902..564c7ac0615b212ff5de76c4f2e5552b891f6800 100644
(file)
--- 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 a
n
loop exiting conditional branch, then
- // attempt
s
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);