We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6d98c commit 11dde44Copy full SHA for 11dde44
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -6451,7 +6451,7 @@ void BoUpSLP::reorderTopToBottom() {
6451
// because ShuffleVectorInst supports only a limited set of
6452
// patterns). Only do reorderNodeWithReuses if the user is not
6453
// ShuffleVectorInst.
6454
- if (TE->UserTreeIndex &&
+ if (TE->UserTreeIndex && TE->UserTreeIndex.UserTE->hasState() &&
6455
isa<ShuffleVectorInst>(TE->UserTreeIndex.UserTE->getMainOp()))
6456
continue;
6457
}
0 commit comments