forked from OSchip/llvm-project
SLPVectorizer: Fix a bug in the code that scans the tree in search of nodes with multiple users.
We did not terminate the switch case and we executed the search routine twice. llvm-svn: 179974
This commit is contained in:
parent
d5b701faf1
commit
98ad5f0f4c
|
@ -354,6 +354,7 @@ void BoUpSLP::getTreeUses_rec(ArrayRef<Value *> VL, unsigned Depth) {
|
|||
|
||||
getTreeUses_rec(Operands, Depth+1);
|
||||
}
|
||||
return;
|
||||
}
|
||||
case Instruction::Store: {
|
||||
ValueList Operands;
|
||||
|
|
Loading…
Reference in New Issue