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:
474479f
)
Add a comment about how Imm can be used for loop-variant values.
author
Dan Gohman
<gohman@apple.com>
Fri, 20 Feb 2009 20:29:04 +0000
(20:29 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 20 Feb 2009 20:29:04 +0000
(20:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65147
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 1edd10e3d8ebfc104cc9a2a021b7d69edeb95cb2..e3f7fbd522f6dfba4e48d590ba2a751577c72dfb 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-666,7
+666,8
@@
namespace {
/// Imm - The immediate value that should be added to the base immediately
/// before Inst, because it will be folded into the imm field of the
- /// instruction.
+ /// instruction. This is also sometimes used for loop-variant values that
+ /// must be added inside the loop.
SCEVHandle Imm;
/// Phi - The induction variable that performs the striding that