Remove unused variable (which allows us to remove vector include). NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 10 Nov 2019 12:15:49 +0000 (12:15 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 10 Nov 2019 12:16:23 +0000 (12:16 +0000)
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

index 5c7ff8d..17d1cd2 100644 (file)
 #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;