summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-10-29 19:32:39 +0000
committerDan Gohman <gohman@apple.com>2007-10-29 19:32:39 +0000
commit7414e21ec07919e84f17472664226b2b437dd0af (patch)
treec2e4bb6ad962443deb407365f7226b1561e4aacc /llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
parentf5feb01056c824cce2e86318f68ef10a31136b2a (diff)
downloadbcm5719-llvm-7414e21ec07919e84f17472664226b2b437dd0af.tar.gz
bcm5719-llvm-7414e21ec07919e84f17472664226b2b437dd0af.zip
Update a comment to reflect the current code.
llvm-svn: 43463
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index a8267d8d68b..01ba7b3063b 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -51,8 +51,8 @@ namespace {
/// IVStrideUse - Keep track of one use of a strided induction variable, where
/// the stride is stored externally. The Offset member keeps track of the
- /// offset from the IV, User is the actual user of the operand, and 'Operand'
- /// is the operand # of the User that is the use.
+ /// offset from the IV, User is the actual user of the operand, and
+ /// 'OperandValToReplace' is the operand of the User that is the use.
struct VISIBILITY_HIDDEN IVStrideUse {
SCEVHandle Offset;
Instruction *User;
OpenPOWER on IntegriCloud