diff options
author | Dan Gohman <gohman@apple.com> | 2009-02-13 17:36:42 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-02-13 17:36:42 +0000 |
commit | a2730abaaacb1dbe88403bef7e914a459a29a78f (patch) | |
tree | 081a5a42793e4657625d176ef517a20e1768b971 /llvm | |
parent | a738e8b854f73bdce88f1c3ccbee9f8a56951d09 (diff) | |
download | bcm5719-llvm-a2730abaaacb1dbe88403bef7e914a459a29a78f.tar.gz bcm5719-llvm-a2730abaaacb1dbe88403bef7e914a459a29a78f.zip |
Complete the sentance in this comment. I have reservations
about the code it describes, but at least now the comment
is right.
llvm-svn: 64465
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 06d683cab96..db5479b3c47 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -1912,6 +1912,7 @@ ICmpInst *LoopStrengthReduce::ChangeCompareStride(Loop *L, ICmpInst *Cond, UsersToProcess); // Avoid rewriting the compare instruction with an iv of new stride // if it's likely the new stride uses will be rewritten using the + // stride of the compare instruction. if (AllUsesAreAddresses && ValidStride(!CommonExprs->isZero(), Scale, UsersToProcess)) { NewCmpVal = CmpVal; |