diff options
author | Dan Gohman <gohman@apple.com> | 2010-01-21 21:31:09 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-01-21 21:31:09 +0000 |
commit | 2f524587b6cf1edf6b5715a234324fd0386fac42 (patch) | |
tree | fc91d59bfb3c18783faffaa53f1b52984c7aa62e /lib/Transforms | |
parent | 839a0159c44e64503720b424dc386e4732f56ad0 (diff) | |
download | llvm-2f524587b6cf1edf6b5715a234324fd0386fac42.tar.gz llvm-2f524587b6cf1edf6b5715a234324fd0386fac42.tar.bz2 llvm-2f524587b6cf1edf6b5715a234324fd0386fac42.tar.xz |
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 6456ca1eb0..b7a733c91f 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -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(); } |