From 33e3a36f0a116b758708ef8fd0695d3a4cb21531 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65147 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LoopStrengthReduce.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 1edd10e3d8e..e3f7fbd522f 100644 --- 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