diff options
author | Nadav Rotem <nrotem@apple.com> | 2013-07-11 05:39:02 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2013-07-11 05:39:02 +0000 |
commit | ace9ed50b549667eff8e19eb76f7714a3a6161ae (patch) | |
tree | 787b04d0b3e378498828affdd58fd8a2dbfe48f3 | |
parent | 1c9eb9ee53da4880dfaf1e839974d9154008771d (diff) | |
download | external_llvm-ace9ed50b549667eff8e19eb76f7714a3a6161ae.zip external_llvm-ace9ed50b549667eff8e19eb76f7714a3a6161ae.tar.gz external_llvm-ace9ed50b549667eff8e19eb76f7714a3a6161ae.tar.bz2 |
Fix a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186064 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Vectorize/SLPVectorizer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp index e25befb..751ed1a 100644 --- 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()) { |