[llvm] 4ff246f - Remove unused variable (which allows us to remove vector include). NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 10 04:17:58 PST 2019


Author: Simon Pilgrim
Date: 2019-11-10T12:16:23Z
New Revision: 4ff246fef25e1353c6f5ebbde625ae30953def7a

URL: https://github.com/llvm/llvm-project/commit/4ff246fef25e1353c6f5ebbde625ae30953def7a
DIFF: https://github.com/llvm/llvm-project/commit/4ff246fef25e1353c6f5ebbde625ae30953def7a.diff

LOG: Remove unused variable (which allows us to remove vector include). NFC.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 5c7ff8d76b40..17d1cd2a977e 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -149,7 +149,6 @@
 #include <string>
 #include <tuple>
 #include <utility>
-#include <vector>
 
 using namespace llvm;
 
@@ -7119,8 +7118,6 @@ VPlanPtr LoopVectorizationPlanner::buildVPlanWithVPRecipes(
     VPBB = FirstVPBBForBB;
     Builder.setInsertPoint(VPBB);
 
-    std::vector<Instruction *> Ingredients;
-
     // Introduce each ingredient into VPlan.
     for (Instruction &I : BB->instructionsWithoutDebug()) {
       Instruction *Instr = &I;


        


More information about the llvm-commits mailing list