summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-06-24 15:59:47 +0000
committerNadav Rotem <nrotem@apple.com>2013-06-24 15:59:47 +0000
commit9c7c997a7efbf52f3672ea9845d152fd38b1dbf1 (patch)
tree161388a1d289b39e8a66e284b2df55fee387fd2d /llvm/lib/Transforms
parent81ca910af7fd9b83032acc3fa8f4f262295ca24c (diff)
downloadbcm5719-llvm-9c7c997a7efbf52f3672ea9845d152fd38b1dbf1.tar.gz
bcm5719-llvm-9c7c997a7efbf52f3672ea9845d152fd38b1dbf1.zip
Rename the variable to fix a warning. Thanks Andy Gibbs.
llvm-svn: 184749
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index d0e3fe2d0b6..6837e51c9a6 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud