projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
899b2f9
)
SLPVectorizer: Fix a bug in the code that scans the tree in search of nodes with...
author
Nadav Rotem
<nrotem@apple.com>
Sun, 21 Apr 2013 07:37:56 +0000
(07:37 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Sun, 21 Apr 2013 07:37:56 +0000
(07:37 +0000)
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
lib/Transforms/Vectorize/VecUtils.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Vectorize/VecUtils.cpp
b/lib/Transforms/Vectorize/VecUtils.cpp
index 03dd5c732665bd89192cf46df406cdc57ff66fda..7701d080ffd859ee882a3a303d77664b9599e0e0 100644
(file)
--- a/
lib/Transforms/Vectorize/VecUtils.cpp
+++ b/
lib/Transforms/Vectorize/VecUtils.cpp
@@
-354,6
+354,7
@@
void BoUpSLP::getTreeUses_rec(ArrayRef<Value *> VL, unsigned Depth) {
getTreeUses_rec(Operands, Depth+1);
}
+ return;
}
case Instruction::Store: {
ValueList Operands;