From 1608df531971fe79d791be027106a26c1f210405 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 20 Feb 2009 20:29:04 +0000 Subject: [PATCH] Add a comment about how Imm can be used for loop-variant values. llvm-svn: 65147 --- llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 1edd10e3d8eb..e3f7fbd522f6 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/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