mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-16 00:16:50 +00:00
Complete the sentance in this comment. I have reservations
about the code it describes, but at least now the comment is right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64465 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
070fbe69d3
commit
e698696569
@ -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
Block a user