[llvm-commits] [llvm] r94104 - /llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Dan Gohman gohman at apple.com
Thu Jan 21 13:31:10 PST 2010


Author: djg
Date: Thu Jan 21 15:31:09 2010
New Revision: 94104

URL: http://llvm.org/viewvc/llvm-project?rev=94104&view=rev
Log:
Add a comment.

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=94104&r1=94103&r2=94104&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Thu Jan 21 15:31:09 2010
@@ -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();
 }





More information about the llvm-commits mailing list