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:
dfad9e3
)
Rename the variable to fix a warning. Thanks Andy Gibbs.
author
Nadav Rotem
<nrotem@apple.com>
Mon, 24 Jun 2013 15:59:47 +0000
(15:59 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Mon, 24 Jun 2013 15:59:47 +0000
(15:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184749
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Vectorize/SLPVectorizer.cpp
b/lib/Transforms/Vectorize/SLPVectorizer.cpp
index d0e3fe2d0b630a01101c9691024337d5522d4c4c..6837e51c9a672b6a68e2a175582d9ad990ece9c3 100644
(file)
--- a/
lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/
lib/Transforms/Vectorize/SLPVectorizer.cpp
@@
-872,8
+872,8
@@
bool FuncSLP::vectorizeStoreChain(ArrayRef<Value *> Chain, int CostThreshold) {
vectorizeTree(Operands);
// Remove the scalar stores.
- for (int
i = 0, e = VF; i < e; ++i
)
- cast<Instruction>(Operands[
i
])->eraseFromParent();
+ for (int
j = 0, e = VF; j < e; ++j
)
+ cast<Instruction>(Operands[
j
])->eraseFromParent();
// Move to the next bundle.
i += VF - 1;