forked from OSchip/llvm-project
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
This commit is contained in:
parent
a738e8b854
commit
a2730abaaa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue