[llvm-commits] [llvm] r166138 - /llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Jakub Staszak
kubastaszak at gmail.com
Wed Oct 17 16:06:37 PDT 2012
Author: kuba
Date: Wed Oct 17 18:06:37 2012
New Revision: 166138
URL: http://llvm.org/viewvc/llvm-project?rev=166138&view=rev
Log:
Remove redundant SetInsertPoint call.
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=166138&r1=166137&r2=166138&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Wed Oct 17 18:06:37 2012
@@ -398,7 +398,6 @@
// 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");
More information about the llvm-commits
mailing list