Skip to content

Commit 11dde44

Browse files
committed
apply comment
1 parent bd6d98c commit 11dde44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6451,7 +6451,7 @@ void BoUpSLP::reorderTopToBottom() {
64516451
// because ShuffleVectorInst supports only a limited set of
64526452
// patterns). Only do reorderNodeWithReuses if the user is not
64536453
// ShuffleVectorInst.
6454-
if (TE->UserTreeIndex &&
6454+
if (TE->UserTreeIndex && TE->UserTreeIndex.UserTE->hasState() &&
64556455
isa<ShuffleVectorInst>(TE->UserTreeIndex.UserTE->getMainOp()))
64566456
continue;
64576457
}

0 commit comments

Comments
 (0)