Add a comment that should have made my last commit.
authorChad Rosier <mcrosier@codeaurora.org>
Fri, 13 Nov 2015 19:13:40 +0000 (19:13 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Fri, 13 Nov 2015 19:13:40 +0000 (19:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253063 91177308-0d34-0410-b5e6-96231b3b80d8

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);