[llvm] r181673 - SLPVectorizer: Clear the map that maps between scalars to vectors after each round of vectorization.
Nadav Rotem
nrotem at apple.com
Sun May 12 15:55:57 PDT 2013
Author: nadav
Date: Sun May 12 17:55:57 2013
New Revision: 181673
URL: http://llvm.org/viewvc/llvm-project?rev=181673&view=rev
Log:
SLPVectorizer: Clear the map that maps between scalars to vectors after each round of vectorization.
Testcase in the next commit.
Modified:
llvm/trunk/lib/Transforms/Vectorize/VecUtils.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/VecUtils.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/VecUtils.cpp?rev=181673&r1=181672&r2=181673&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/VecUtils.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/VecUtils.cpp Sun May 12 17:55:57 2013
@@ -633,6 +633,7 @@ Value *BoUpSLP::vectorizeTree(ArrayRef<V
numberInstructions();
MustScalarize.clear();
MustExtract.clear();
+ VectorizedValues.clear();
return V;
}
More information about the llvm-commits
mailing list