Add a comment that should have made my last commit.
[oota-llvm.git] / lib / Transforms / Scalar / LoopIdiomRecognize.cpp
index de0dc3cc0a13a6b78b5e36e599306dfbce571e52..f933e82d928aca9806dfa66687bdc3216d90b2ca 100644 (file)
@@ -552,6 +552,7 @@ bool LoopIdiomRecognize::processLoopStridedStore(
   Type *IntPtr = Builder.getIntPtrTy(*DL, DestAS);
 
   const SCEV *Start = Ev->getStart();
+  // Handle negative strided loops.
   if (NegStride)
     Start = getStartForNegStride(Start, BECount, IntPtr, StoreSize, SE);