diff options
author | Nadav Rotem <nrotem@apple.com> | 2013-07-07 14:57:18 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2013-07-07 14:57:18 +0000 |
commit | c7ffbc019fdc6ae5265f1841eaabae34e301f59b (patch) | |
tree | 3fc015584de5990f85b69c6787920f3aaef57868 /lib | |
parent | 37ade2b8015d86e73c62ab48a2ce5f0ce10de708 (diff) | |
download | llvm-c7ffbc019fdc6ae5265f1841eaabae34e301f59b.tar.gz llvm-c7ffbc019fdc6ae5265f1841eaabae34e301f59b.tar.bz2 llvm-c7ffbc019fdc6ae5265f1841eaabae34e301f59b.tar.xz |
Clear the builder insert point between tree-vectorization phases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Vectorize/SLPVectorizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp index d2e7450d24..136eaffb60 100644 --- a/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -1292,6 +1292,7 @@ void BoUpSLP::vectorizeTree() { for (Function::iterator it = F->begin(), e = F->end(); it != e; ++it) { BlocksNumbers[it].forget(); } + Builder.ClearInsertionPoint(); } void BoUpSLP::optimizeGatherSequence() { |