Fix a warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2013-07-11 05:39:02 +00:00
parent 1c9eb9ee53
commit ace9ed50b5

View File

@ -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()) {