[llvm] [SLP]Buildvector for alternate instructions with non-profitable gather operands. (PR #84978)
Valery Dmitriev via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 12 15:05:14 PDT 2024
================
@@ -6074,6 +6194,14 @@ BoUpSLP::TreeEntry::EntryState BoUpSLP::getScalarsVectorizationState(
LLVM_DEBUG(dbgs() << "SLP: ShuffleVector are not vectorized.\n");
return TreeEntry::NeedToGather;
}
+ if (!areAltOperandsProfitable(S, VL)) {
----------------
valerydmit wrote:
I'll prepare it. Thanks.
https://github.com/llvm/llvm-project/pull/84978
More information about the llvm-commits
mailing list