From: Jakub Staszak Date: Wed, 17 Oct 2012 23:06:37 +0000 (+0000) Subject: Remove redundant SetInsertPoint call. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c2358eb361ee3304e553c0d283c5c3a44f28950f;p=oota-llvm.git Remove redundant SetInsertPoint call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166138 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index ce44db0f5e7..b256155ebaf 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -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");