mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-24 11:36:10 +00:00
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:
parent
bcd5a0f7ef
commit
29b7419428
@ -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