mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-29 07:53:33 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179974 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
899b2f9d0b
commit
bd65805016
@ -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
Block a user