Set the default insert point to the first instruction, and not to end()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185953 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2013-07-09 17:55:36 +00:00
parent bcd5a0f7ef
commit 29b7419428

View File

@ -1217,7 +1217,7 @@ Value *BoUpSLP::vectorizeTree(TreeEntry *E) {
}
void BoUpSLP::vectorizeTree() {
Builder.SetInsertPoint(&F->getEntryBlock());
Builder.SetInsertPoint(F->getEntryBlock().begin());
vectorizeTree(&VectorizableTree[0]);
// For each vectorized value: