diff options
author | Nadav Rotem <nrotem@apple.com> | 2013-05-12 22:55:57 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2013-05-12 22:55:57 +0000 |
commit | 57e02b3358e8caeddb093fab88fee6f73cd5d597 (patch) | |
tree | b9176206d1366fa0a0dddcfde3d7d8ff13717522 /lib | |
parent | fa49d7d6e4384381e4307a0d2495e6e5b15821e3 (diff) | |
download | external_llvm-57e02b3358e8caeddb093fab88fee6f73cd5d597.zip external_llvm-57e02b3358e8caeddb093fab88fee6f73cd5d597.tar.gz external_llvm-57e02b3358e8caeddb093fab88fee6f73cd5d597.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Vectorize/VecUtils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Vectorize/VecUtils.cpp b/lib/Transforms/Vectorize/VecUtils.cpp index 55adf8a..6f36c93 100644 --- a/lib/Transforms/Vectorize/VecUtils.cpp +++ b/lib/Transforms/Vectorize/VecUtils.cpp @@ -633,6 +633,7 @@ Value *BoUpSLP::vectorizeTree(ArrayRef<Value *> VL, int VF) { numberInstructions(); MustScalarize.clear(); MustExtract.clear(); + VectorizedValues.clear(); return V; } |