mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-15 04:20:27 +00:00
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:
parent
1c9eb9ee53
commit
ace9ed50b5
@ -1361,8 +1361,7 @@ void BoUpSLP::vectorizeTree() {
|
|||||||
if (Entry->NeedToGather)
|
if (Entry->NeedToGather)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Value *Vec = Entry->VectorizedValue;
|
assert(Entry->VectorizedValue && "Can't find vectorizable value");
|
||||||
assert(Vec && "Can't find vectorizable value");
|
|
||||||
|
|
||||||
Type *Ty = Scalar->getType();
|
Type *Ty = Scalar->getType();
|
||||||
if (!Ty->isVoidTy()) {
|
if (!Ty->isVoidTy()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user