projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
392249f
)
Fix comment.
author
Owen Anderson
<resistor@mac.com>
Mon, 3 Jan 2011 23:51:56 +0000
(23:51 +0000)
committer
Owen Anderson
<resistor@mac.com>
Mon, 3 Jan 2011 23:51:56 +0000
(23:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122788
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
index dc55848d35f10e1f7fc2d80e8fbd46cafdf247ac..52fc2636ac33a13aa89df5f8f759218236fe9c22 100644
(file)
--- a/
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
+++ b/
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
@@
-250,7
+250,7
@@
bool LoopIdiomRecognize::processLoopStore(StoreInst *SI, const SCEV *BECount) {
const SCEVConstant *Stride = dyn_cast<SCEVConstant>(StoreEv->getOperand(1));
// TODO: Could also handle negative stride here someday, that will require the
- // validity check in mayLoop
ModRef
Location to be updated though.
+ // validity check in mayLoop
Access
Location to be updated though.
if (Stride == 0 || StoreSize != Stride->getValue()->getValue())
return false;