Skip to content

Commit bd6d98c

Browse files
committed
remove assert
Previously a TreeEntry may have multiple users. If only one of them is ShuffleVectorInst, then we don't know how to do. But right now a TreeEntry can only have 1 user.
1 parent 23ad559 commit bd6d98c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6454,10 +6454,6 @@ void BoUpSLP::reorderTopToBottom() {
64546454
if (TE->UserTreeIndex &&
64556455
isa<ShuffleVectorInst>(TE->UserTreeIndex.UserTE->getMainOp()))
64566456
continue;
6457-
assert((!TE->UserTreeIndex ||
6458-
!isa<ShuffleVectorInst>(
6459-
TE->UserTreeIndex.UserTE->getMainOp())) &&
6460-
"Does not know how to reorder.");
64616457
}
64626458
// Update ordering of the operands with the smaller VF than the given
64636459
// one.

0 commit comments

Comments
 (0)