projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a comment that should have made my last commit.
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
LoopIdiomRecognize.cpp
diff --git
a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
index de0dc3cc0a13a6b78b5e36e599306dfbce571e52..f933e82d928aca9806dfa66687bdc3216d90b2ca 100644
(file)
--- a/
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
+++ b/
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
@@
-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);