SLPVectorizer: Fix a bug in the code that scans the tree in search of nodes with...
[oota-llvm.git] / lib / Transforms / Vectorize / VecUtils.cpp
index 03dd5c732665bd89192cf46df406cdc57ff66fda..7701d080ffd859ee882a3a303d77664b9599e0e0 100644 (file)
@@ -354,6 +354,7 @@ void BoUpSLP::getTreeUses_rec(ArrayRef<Value *> VL, unsigned Depth) {
 
         getTreeUses_rec(Operands, Depth+1);
       }
+      return;
     }
     case Instruction::Store: {
       ValueList Operands;