SLPVectorizer: Clear the map that maps between scalars to vectors after each round of vectorization.

Testcase in the next commit.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181673 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2013-05-12 22:55:57 +00:00
parent fa49d7d6e4
commit 57e02b3358

View File

@ -633,6 +633,7 @@ Value *BoUpSLP::vectorizeTree(ArrayRef<Value *> VL, int VF) {
numberInstructions();
MustScalarize.clear();
MustExtract.clear();
VectorizedValues.clear();
return V;
}