Add a comment.
llvm-svn: 94104
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 6456ca1..b7a733c 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -339,7 +339,8 @@
}
/// getNumRegs - Return the total number of register operands used by this
-/// formula.
+/// formula. This does not include register uses implied by non-constant
+/// addrec strides.
unsigned Formula::getNumRegs() const {
return !!ScaledReg + BaseRegs.size();
}