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:
839a015
)
Add a comment.
author
Dan Gohman
<gohman@apple.com>
Thu, 21 Jan 2010 21:31:09 +0000
(21:31 +0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 21 Jan 2010 21:31:09 +0000
(21:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94104
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 6456ca1eb0c147d74dbe7ecf4e9ce65801745d01..b7a733c91ffb04f91261e912cb2ae5b66e9f9f9b 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-339,7
+339,8
@@
struct Formula {
}
/// getNumRegs - Return the total number of register operands used by this
-/// formula.
+/// formula. This does not include register uses implied by non-constant
+/// addrec strides.
unsigned Formula::getNumRegs() const {
return !!ScaledReg + BaseRegs.size();
}