[LV] Remove duplicated return stmt (NFC).
authorFlorian Hahn <flo@fhahn.com>
Tue, 19 May 2020 14:35:59 +0000 (15:35 +0100)
committerFlorian Hahn <flo@fhahn.com>
Tue, 19 May 2020 16:20:50 +0000 (17:20 +0100)
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

index a66f68c..3149556 100644 (file)
@@ -7124,7 +7124,6 @@ VPRecipeBase *VPRecipeBuilder::tryToCreateWidenRecipe(Instruction *Instr,
     if ((Recipe = tryToOptimizeInductionPHI(Phi)))
       return Recipe;
     return new VPWidenPHIRecipe(Phi);
-    return new VPWidenPHIRecipe(Phi);
   }
 
   if (isa<TruncInst>(Instr) &&