[llvm-commits] [llvm] r65147 - /llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Dan Gohman
gohman at apple.com
Fri Feb 20 12:29:05 PST 2009
Author: djg
Date: Fri Feb 20 14:29:04 2009
New Revision: 65147
URL: http://llvm.org/viewvc/llvm-project?rev=65147&view=rev
Log:
Add a comment about how Imm can be used for loop-variant values.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=65147&r1=65146&r2=65147&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Fri Feb 20 14:29:04 2009
@@ -666,7 +666,8 @@
/// 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
More information about the llvm-commits
mailing list