[llvm] r185777 - Clear the builder insert point between tree-vectorization phases.
Nadav Rotem
nrotem at apple.com
Sun Jul 7 07:57:18 PDT 2013
Author: nadav
Date: Sun Jul 7 09:57:18 2013
New Revision: 185777
URL: http://llvm.org/viewvc/llvm-project?rev=185777&view=rev
Log:
Clear the builder insert point between tree-vectorization phases.
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=185777&r1=185776&r2=185777&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Sun Jul 7 09:57:18 2013
@@ -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() {
More information about the llvm-commits
mailing list