aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Vectorize
diff options
context:
space:
mode:
authorJakub Staszak <kubastaszak@gmail.com>2012-10-17 23:06:37 +0000
committerJakub Staszak <kubastaszak@gmail.com>2012-10-17 23:06:37 +0000
commitc2358eb361ee3304e553c0d283c5c3a44f28950f (patch)
treeeaa61c4cf5411970fd66d8c272ade1ca57f36f7b /lib/Transforms/Vectorize
parent4031e9018b071d25e5fc905aa38a943fcd9facb6 (diff)
downloadexternal_llvm-c2358eb361ee3304e553c0d283c5c3a44f28950f.zip
external_llvm-c2358eb361ee3304e553c0d283c5c3a44f28950f.tar.gz
external_llvm-c2358eb361ee3304e553c0d283c5c3a44f28950f.tar.bz2
Remove redundant SetInsertPoint call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize')
-rw-r--r--lib/Transforms/Vectorize/LoopVectorize.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp
index ce44db0..b256155 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");