[llvm-commits] [llvm] r122788 - /llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

Owen Anderson resistor at mac.com
Mon Jan 3 15:51:56 PST 2011


Author: resistor
Date: Mon Jan  3 17:51:56 2011
New Revision: 122788

URL: http://llvm.org/viewvc/llvm-project?rev=122788&view=rev
Log:
Fix comment.

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp?rev=122788&r1=122787&r2=122788&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp Mon Jan  3 17:51:56 2011
@@ -250,7 +250,7 @@
   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;
   





More information about the llvm-commits mailing list