Remove redundant SetInsertPoint call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakub Staszak 2012-10-17 23:06:37 +00:00
parent 4031e9018b
commit c2358eb361

View File

@ -398,7 +398,6 @@ void SingleBlockLoopVectorizer::copyEmptyLoop() {
// Use this IR builder to create the loop instructions (Phi, Br, Cmp)
// inside the loop.
Builder = new IRBuilder<>(BB);
Builder->SetInsertPoint(BB);
// Generate the induction variable.
PHINode *Phi = Builder->CreatePHI(IdxTy, 2, "index");