mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[SLPVectorizer] Fix assert
This commit is contained in:
parent
e71c3845ad
commit
fbb47aa8a7
@ -1765,7 +1765,7 @@ private:
|
||||
ArrayRef<unsigned> ReorderIndices = None) {
|
||||
assert(!(Bundle && EntryState == TreeEntry::NeedToGather) &&
|
||||
"Need to gather vectorized entry?");
|
||||
assert(!Bundle && EntryState != TreeEntry::NeedToGather &&
|
||||
assert((Bundle || EntryState == TreeEntry::NeedToGather) &&
|
||||
"Need to vectorize gather entry?");
|
||||
VectorizableTree.push_back(std::make_unique<TreeEntry>(VectorizableTree));
|
||||
TreeEntry *Last = VectorizableTree.back().get();
|
||||
|
Loading…
Reference in New Issue
Block a user