[llvm] r184749 - Rename the variable to fix a warning. Thanks Andy Gibbs.

Nadav Rotem nrotem at apple.com
Mon Jun 24 08:59:47 PDT 2013


Author: nadav
Date: Mon Jun 24 10:59:47 2013
New Revision: 184749

URL: http://llvm.org/viewvc/llvm-project?rev=184749&view=rev
Log:
Rename the variable to fix a warning. Thanks Andy Gibbs.

Modified:
    llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp

Modified: llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp?rev=184749&r1=184748&r2=184749&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Mon Jun 24 10:59:47 2013
@@ -872,8 +872,8 @@ bool FuncSLP::vectorizeStoreChain(ArrayR
       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;





More information about the llvm-commits mailing list