Fix comment.
authorOwen Anderson <resistor@mac.com>
Mon, 3 Jan 2011 23:51:56 +0000 (23:51 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 3 Jan 2011 23:51:56 +0000 (23:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122788 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopIdiomRecognize.cpp

index dc55848d35f10e1f7fc2d80e8fbd46cafdf247ac..52fc2636ac33a13aa89df5f8f759218236fe9c22 100644 (file)
@@ -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;