From c2358eb361ee3304e553c0d283c5c3a44f28950f Mon Sep 17 00:00:00 2001 From: Jakub Staszak Date: Wed, 17 Oct 2012 23:06:37 +0000 Subject: Remove redundant SetInsertPoint call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166138 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Vectorize/LoopVectorize.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp') diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index ce44db0f5e..b256155eba 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"); -- cgit v1.2.3-70-g09d2