Rename the variable to fix a warning. Thanks Andy Gibbs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184749 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2013-06-24 15:59:47 +00:00
parent dfad9e314e
commit f4b0e81085

View File

@ -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;