Add a comment.
authorDan Gohman <gohman@apple.com>
Thu, 21 Jan 2010 21:31:09 +0000 (21:31 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 21 Jan 2010 21:31:09 +0000 (21:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94104 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index 6456ca1eb0c147d74dbe7ecf4e9ce65801745d01..b7a733c91ffb04f91261e912cb2ae5b66e9f9f9b 100644 (file)
@@ -339,7 +339,8 @@ struct Formula {
 }
 
 /// 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();
 }