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:
1c9eb9e
)
Fix a warning.
author
Nadav Rotem
<nrotem@apple.com>
Thu, 11 Jul 2013 05:39:02 +0000
(
05:39
+0000)
committer
Nadav Rotem
<nrotem@apple.com>
Thu, 11 Jul 2013 05:39:02 +0000
(
05:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186064
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Vectorize/SLPVectorizer.cpp
b/lib/Transforms/Vectorize/SLPVectorizer.cpp
index e25befbc39ef4853a82e24c6dec3d405e82aa999..751ed1abf2e7f1a18a775562aaed2549e207757c 100644
(file)
--- a/
lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/
lib/Transforms/Vectorize/SLPVectorizer.cpp
@@
-1361,8
+1361,7
@@
void BoUpSLP::vectorizeTree() {
if (Entry->NeedToGather)
continue;
- Value *Vec = Entry->VectorizedValue;
- assert(Vec && "Can't find vectorizable value");
+ assert(Entry->VectorizedValue && "Can't find vectorizable value");
Type *Ty = Scalar->getType();
if (!Ty->isVoidTy()) {