mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122788 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
392249fcf3
commit
6f96b275b6
@ -250,7 +250,7 @@ bool LoopIdiomRecognize::processLoopStore(StoreInst *SI, const SCEV *BECount) {
|
||||
const SCEVConstant *Stride = dyn_cast<SCEVConstant>(StoreEv->getOperand(1));
|
||||
|
||||
// TODO: Could also handle negative stride here someday, that will require the
|
||||
// validity check in mayLoopModRefLocation to be updated though.
|
||||
// validity check in mayLoopAccessLocation to be updated though.
|
||||
if (Stride == 0 || StoreSize != Stride->getValue()->getValue())
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user