[llvm] r253063 - Add a comment that should have made my last commit.
Chad Rosier via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 11:13:41 PST 2015
Author: mcrosier
Date: Fri Nov 13 13:13:40 2015
New Revision: 253063
URL: http://llvm.org/viewvc/llvm-project?rev=253063&view=rev
Log:
Add a comment that should have made my last commit.
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=253063&r1=253062&r2=253063&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp Fri Nov 13 13:13:40 2015
@@ -552,6 +552,7 @@ bool LoopIdiomRecognize::processLoopStri
Type *IntPtr = Builder.getIntPtrTy(*DL, DestAS);
const SCEV *Start = Ev->getStart();
+ // Handle negative strided loops.
if (NegStride)
Start = getStartForNegStride(Start, BECount, IntPtr, StoreSize, SE);
More information about the llvm-commits
mailing list