mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-05 10:06:08 +00:00
Set the default insert point to the first instruction, and not to end()
llvm-svn: 185953
This commit is contained in:
parent
2315c2e618
commit
861bef7dd0
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user