OSDN Git Service
(root)
/
android-x86
/
external-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
d0e3fe2
..
6837e51
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;