[llvm] [SLP] NFC. Remove the useless check for alternate instruction. (PR #117116)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 04:01:56 PST 2024
================
@@ -5999,8 +5999,7 @@ void BoUpSLP::reorderTopToBottom() {
if ((TE->State == TreeEntry::Vectorize ||
TE->State == TreeEntry::StridedVectorize) &&
isa<ExtractElementInst, ExtractValueInst, LoadInst, StoreInst,
- InsertElementInst>(TE->getMainOp()) &&
- !TE->isAltShuffle()) {
----------------
alexey-bataev wrote:
Add the assertion
https://github.com/llvm/llvm-project/pull/117116
More information about the llvm-commits
mailing list